Learn R Programming

condmixt (version 1.1)

lognormixt: Mixture of Log-Normals

Description

Density for a mixture of Log-Normals with m components.

Usage

dlognormixt(params, x, log = FALSE)

Arguments

params

matrix of mixture parameters of dimension 3 x m, where m is the number of components, so that each column contains the mixture parameters (pi, mu, sigma) related to one component

x

vector of sample data

log

logical, if TRUE, probabilities p are given as log(p).

Value

dlognormixt gives the density of the mixture of Log-Normals

See Also

Lognormal