DensityModel: Constructor for DensityModel class

Description Usage Arguments Value See Also Examples

Description

Instantiates an instance of 'DensityModel' (or 'DensityBatchModel') from a MarginalModel or BatchModel object. See the corresponding class for additional details and examples.

Usage

1

Arguments

object

see showMethods(DensityModel)

merge

Logical. Whether to use kmeans clustering to cluster the component means using the estimated modes from the overall density as the centers for the kmeans function.

Value

An object of class 'DensityModel'

See Also

DensityModel-class kmeans

Examples

1


Search within the CNPBayes 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.