bootockc | R Documentation |
Runs ockc for different numbers of clusters on bootstrap replica of the original data (maintaining the supplied order) and returns corresponding cluster assignments, centroids and Rand indices comparing pairs of partitions.
bootockc(x, k, nboot = 100, order = NULL, correct = TRUE, seed = NULL, multicore = TRUE, verbose = FALSE, ...)
x, k, ... |
Passed to |
nboot |
Number of bootstrap pairs (maintaining order). |
order |
Order restriction of |
correct |
Logical, correct the index for agreement by chance? |
seed |
If not |
multicore |
Use parallelization, if available. For examples and additional
documentation see |
verbose |
Logical, show progress information during computations.
Ignored if |
Returns an object of class "bootFlexclust"
.
Sebastian Krey
ockc
, bootFlexclust
, stepFlexclust
x <- rbind(cbind(rnorm(10, mean=0), rnorm(10, mean=0,), rnorm(10, mean=0)), cbind(rnorm(10, mean=10), rnorm(10, mean=10), rnorm(10, mean=0)), cbind(rnorm(10, mean=10), rnorm(10, mean=0), rnorm(10, mean=10)), cbind(rnorm(10, mean=10), rnorm(10, mean=10), rnorm(10, mean=10)) ) bockc <- bootockc(x, 2:4, nboot=4, order=c(1:10, 21:40, 11:20), multicore=FALSE, verbose=FALSE) bockc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.