Description Usage Arguments Details Value See Also Examples
View source: R/mx_guess_components.R
Heuristic method to guess number of components and their parameters (mean, standard deviation and weight) from observation data.
1 | mx_guess_components(x, bw = 1, minpeak = 0, mincut = 0.9, ...)
|
x |
vector of (non-binned) observation data |
bw |
bandwidth of kernel density, cf. |
minpeak |
minimum value of the total maximum which is regarded as peak |
mincut |
minimum relative height of a pit compared to the lower of the two neighbouring maxima at which these maxima are regarded as separate peaks (default value is derived from golden section) |
... |
further arguments passed to |
The function guesses approximate start values of parameters that then need subsequent identification, e.g. with a maximum likelihood or EM (expectation maximization) method.
data frame with mean (mean
), standard deviation sd
and
mixing proportions L
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.