multiModalModel: Probability of data points given a multi-modal distribution.

View source: R/models.R

multiModalModelR Documentation

Probability of data points given a multi-modal distribution.

Description

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

Usage

multiModalModel(par, x)

Arguments

par

A named vector with the model parameter (see details).

x

A sequence of numbers to evaluate the probability of.

Details

The 'par' argument is a data frame (or named list) with columns: - m: mean - s: standard deviation - w: weight for every normal distribution of the model

Value

A vector of probabilities according to the multi modal normal distribution.


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