multiModalGridSearch: Grid search to find likely N-modal distributions parameters...

View source: R/models.R

multiModalGridSearchR Documentation

Grid search to find likely N-modal distributions parameters given data.

Description

This function is part of a set of functions to fit and evaluate multi-modal (normal) distribution of data points.

Usage

multiModalGridSearch(x, n = 2, points = 7, best = 10)

Arguments

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.

Value

The best parameters for N-modal distributions for a data set x.

Examples

multiModalGridSearch(x=c(rnorm(50,0,2),rnorm(100,10,4)), n=2, points=7, best=10)

thartbm/handlocs documentation built on Feb. 18, 2025, 10:53 p.m.