View source: R/misc_functions.R
gmm_mad | R Documentation |
gmm_mad
returns the weighted median absolute deviation of data fit to
the specified mixture model
gmm_mad(data, means, variances)
data |
(numeric) vector of values to compute the MAD over |
means |
(numeric) vector of means for the mixture moel |
variances |
(numeric) vector of gaussian variances, either length one or equal to the length of means |
a single numeric of the MAD for the model
gmm_mad(0:5, c(1, 5), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.