sampleMix: Generate data from a mixture of normals

Description Usage Arguments Value

Description

Generate data from a mixture of normals

Usage

1

Arguments

N

The number of points to be generated

weights

A vector of weights for each mixture component

mean

A list containing the means of each component

cov

A list of covariance matricies for each component

Value

A list returning the weights, the sampled values and the component allocations.


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.