Learn R Programming

VBmix (version 0.2.8)

gmmgen: gmmgen

Description

sample elements from a GMM.

Usage

gmmgen(mod, nitem)

Arguments

mod
GMM sampled from.
nitem
number of elements to be sampled.

Value

  • nitem x d matrix with elements as rows.

Examples

Run this code
temp <- gmmgen(gmmpen[[1]], 50)

Run the code above in your browser using DataLab