Learn R Programming

mixpack (version 0.3.6)

rmixnorm_solution: Random sample generated from an specified gaussian mixture model.

Description

The parameters are defined from the parameters obtained using other packages (' Mclust, rmixmod)

Usage

rmixnorm_solution(n, solution, ...)

Arguments

n
sample size
solution
solution comming from packages Mclust or rmixmod
...
arguments passed to function rmixnorm

Examples

Run this code
require(mclust)
mod1 = Mclust(iris[,1:4])
rmixnorm_solution(10, mod1)

Run the code above in your browser using DataLab