Learn R Programming

mixsmsn (version 1.1-10)

rmmix: Random multivariate FM-SMSN generator

Description

Random generator of multivariate FM-SMSN distributions.

Usage

rmmix(n, pii, family, arg, cluster=FALSE)

Arguments

n

number of observations

pii

a vector of weights for the mixture (dimension of the number g of clusters). Must sum to one!

family

distribution family to be used in fitting ("t", "Skew.t", "Skew.cn", "Skew.slash", "Skew.normal", "Normal")

arg

a list of g lists with each list containing the necessary parameters of the selected family

cluster

TRUE or FALSE if the true observations clusters must be returned.

See Also

smsn.mmix

Examples

Run this code
# NOT RUN {
 ## see \code{\link{smsn.mmix}}
# }

Run the code above in your browser using DataLab