samplemixDiag: Generate data from a mixture of normals with diagonal...

Description Usage Arguments Value

Description

Generate data from a mixture of normals with diagonal structure

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 as a vector 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.