Instantiates an instance of 'DensityModel' (or 'DensityBatchModel')
from a MarginalModel or BatchModel object. See the corresponding
class for additional details and examples.
Usage
DensityModel(object, merge = FALSE)
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.