multiModalGridSearch | R Documentation |
This function is part of a set of functions to fit and evaluate multi-modal (normal) distribution of data points.
multiModalGridSearch(x, n = 2, points = 7, best = 10)
x |
A sequence of numbers to evaluate the probability of. |
n |
The number of normal distributions to consider. |
points |
The number of points to search in each dimension of the search grid. |
best |
Return the parameters for the 'best' best fits. |
The best parameters for N-modal distributions for a data set x.
multiModalGridSearch(x=c(rnorm(50,0,2),rnorm(100,10,4)), n=2, points=7, best=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.