P.r.s {netresponse} | R Documentation

## Description: Probabiity of mode given a sample (a data vector) Mainly for internal use; documentation will be provided later. Tools for calculating densities with Gaussian mixture models.

### Description

Arguments: @param dat features x samples data matrix for mixture modeling @param pars Gaussian mixture model parameters (diagonal covariances); list with elements mu (mean vectors), sd (covariance diagonals), w (weights). The mu and sd are component x features matrices, w is vector giving weight for each component. @param log Logical. Return densities in log domain. @param scaling Try to avoid floating errors. To be improved later.

### Usage

    P.r.s(dat, pars, log = TRUE, scaling = 0)

### Details

Returns: @return Probability density

### Author(s)

Contact: Leo Lahti leo.lahti@iki.fi

### References

See citation("netresponse")

[Package netresponse version 1.40.0 Index]