Here you will find two sample data
sets, the necessary parameter files, and several R scripts for
generating useful summaries based on the model output.
The plotting scripts require the ability to sample from and evaluate multivariate normal and T distributions, and to perform gradient ascent on a discretized space. In order to run the plotting scripts as provided here, you will need the myrand R package. Technically it is not an R package yet, but once loaded it behaves as one.
To install myrand you will need to download and uncompress the source code above, and compile the R package. From a command prompt, go into the myrand/src directory, and issue the command "R CMD SHLIB -o myrand.so *.c". On a Windows machine with the RTools software installed, issue the command "R CMD SHLIB -o myrand.dll *.c".
Circle Data (standard DP mixture)
Cluster Data (mixture of mixtures)
|More software from the West group|