View source: R/misc_functions.R
parametric_gmm_fit | R Documentation |
parametric_gmm_fit
returns a matrix of standardized normal
probabilities with rows as observations and columns as mixture componentsFits a gaussian mixture model with specified parameters to the data agnostic
to weights
parametric_gmm_fit
returns a matrix of standardized normal
probabilities with rows as observations and columns as mixture components
parametric_gmm_fit(data, means, variances)
data |
(numeric) vector of values to compute probailities for |
means |
(numeric) vector of gaussian means, one per component |
variances |
(numeric) vector of gaussian variances, either length one or equal to the length of means |
matrix of values with row count equal to the length of data and column count equal to the length of the means
parametric_gmm_fit(0:5, c(1, 5), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.