deleteCluster: Delete a cluster from a metadata object

Description Usage Arguments Value Examples

Description

Delete a cluster from a metadata object

Usage

1
deleteCluster(m, clnumber)

Arguments

m

A metadata object

clnumber

The cluster to delete

Value

A metadata object

Examples

1
2
3
4
5
6
require(MASS)
m <- new("metadata.metric", 
         clusters = list(c1 = list(n = 25, mu = c(4,5), Sigma=diag(1,2)),
                         c2 = list(n = 25, mu = c(-1,-2), Sigma=diag(1,2))),
         genfunc = mvrnorm)
m2 <- deleteCluster(m, 2)


Search within the bdlp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.