DensityModel: Constructor for DensityModel class

Description Usage Arguments Value See Also Examples

View source: R/methods-DensityModel.R

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

CNPBayes documentation built on May 20, 2017, 10:33 p.m.

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

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

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

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