Cramer's Phi analyses of free-sort data from psychological experiments.
The appendix of Lawson et al. (2017) provides a brief introduction to the calculations performed by the freesortphi package (phi.intra, phi.inter, and Monte Carlo estimation of their respective chance values).
install.packages('freesortphi', repos='http://R-Forge.R-project.org')
NOTE: In order to install the unstable version on a Mac or a Linux machine, you may need to install additional software for building R packages from source. These are available on CRAN, in the same place you download R. Windows users do not need to worry about this.
The help files of the freesortphi package document its functions. Load the package using library(freesortphi) and then type library(help='freesortphi') to see the list of functions. Type e.g. ?phi.intra to get help documentation for each function.
The project summary page you can find here.