Description Usage Arguments Details Value See Also Examples
View source: R/density.mixfitEM.R
This function calculates the probability density of a finite mixture model.
1 2 |
x |
an object of class |
at |
a scalar or a numeric vector of locations where densities are calculated |
smoothness |
a positive integer controlling the smoothness of the density curve (default 512). The higher this value is, the more locations of the mixture model the density is calculated. |
cut |
the number of standard deviations away the density is to be computed (default 3.8) |
... |
other arguments |
The function density.mixfitEM
is the method of the generic function
density
for the class mixfitEM
.
This function returns a list of class densityEM
, which contains the following
items.
x |
a scalar or a numeric vector of locations where densities are calculated. |
y |
a vector of the densities of the mixture model at the corresponding locations in |
comp |
a matrix with columns representing the densities of each component in the mixture model at the corresponding locations in |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.