plot.cluster.test {bayesclust} | R Documentation |
plot.cluster.test
will plot the running posterior probabilities
that were computed by cluster.test
. These plots can be used to
monitor convergence of the computation carried out by cluster.test
.
## S3 method for class 'cluster.test': plot(x, ...)
x |
x is an object of class ``cluster.test'', which is
returned when cluster.test is run on a dataset. |
... |
Additional arguments to be passed to the inherited plot
function. |
Gopal, V.
Fuentes, C. and Casella, G. (2008) "Testing for the Existence of Clusters" http://www.stat.ufl.edu/~casella/Papers/paper-v3.pdf
Gopal, V. "BayesClust User Manual" http://www.stat.ufl.edu/~viknesh/bayesclust/clust.html
cluster.test
for further information on
objects of class ``cluster.test''.
plot
for details on arguments that can be passed through ...
# Generate random 2-variate data Y <- matrix(rnorm(24), nrow=12) # Search for optimal partitioning of data into 2 clusters test1 <- cluster.test(Y, p=2, nsim=5000) # Plot the running posterior probabilities to monitor convergence plot(test1)