Description Usage Arguments Examples
View source: R/multigmmsamedistribumulti.R
Due to the limitation of optimization that too many data would dramatically slow down the speed.
1 2 | multigmmsamedistribumulti(x, lambda_lower = 0.1, lambda_upper = 1 -
lambda_lower, sigma_lower = 0.01, debug = F)
|
x |
a list of numeric vector |
lambda_lower |
the lower bound of λ |
lambda_upper |
the upper bound of λ |
sigma_lower |
the lower bound of σ |
debug |
enable the debug mode to show |
1 2 3 4 5 6 7 8 9 | set.seed(0)
x1=c(rnorm(150, mean=0), rnorm(50, mean=10))
x2=c(rnorm(150, mean=20), rnorm(50, mean=40))
x3=c(rnorm(150, mean=30), rnorm(50, mean=60))
x4=c(rnorm(150, mean=30), rnorm(50, mean=60))
x5=c(rnorm(150, mean=30), rnorm(50, mean=60))
x6=c(rnorm(150, mean=30), rnorm(50, mean=60))
x=list(x1, x2, x3, x4, x5, x6)
multigmmmanydata(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.