rMGMM {MGMM} | R Documentation |
This function samples data from the multiple Gaussian mixture model
rMGMM(n = 100, delta = 4, param = replicate(2, list(pi = c(0.5, 0.5), mu = matrix(c(1, 1, -1, -1), 2, 2) * delta, sd = matrix(1, 2, 2)), simplify = F))
n |
numeric. Number of observations. |
delta |
numeric. To select the components overlaps. |
param |
list. Model parameters. |
List
# Data loading