simudZ: Simulate data from a Univariate normal Mixture

Description Usage Arguments Examples

Description

...

Usage

1
simudZ(n, mu, sig, p, k)

Arguments

n:

sample size to simulate

mu:

vector of mixture means

sig:

vector of mixture component variances

p:

vector of mixture weights

k:

Number of components.

Examples

1
simudZ(n=10, mu=c(-1,4,10), sig=c(1,1,2), p=c(.2, .7, .1), k=3)

zoevanhavre/Zmix documentation built on May 4, 2019, 11:25 p.m.