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 31, 2017, 2:57 p.m.