Description Usage Arguments Value
The SUGS clustering algorithm by Wang and Dunson (2011) for 1 dimensional data
1 | runsugs1D(iter, mydata, Model)
|
iter |
The number of random orderings of the observations for which to run sugs |
mydata |
Data matrix with observations as rows |
Model |
Character string indicating whether to use PML, ML or both for model selection. "Both" defaults to PML. |
A matrix of cluster allocation, K the number of clusters, a matrix indicating the number of observations allocated to each cluster. The value of the model selection criteria either log PML, log ML or both and the random orderings used
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.