regSkewt {fitmixst4} | R Documentation |
Fitted mixed model
fitmixst(y, g, rel.error = 1e-3, itermax=1000, method = "kmeans", para = NULL, verbose = F, mcmc = F, useR = F, ...)
y |
a multidimensional input vector. |
rel.error |
the desired relative error. (default 1e-3) |
itermax |
the maximum of iterations. (default 1000) |
method |
of finding initial values. (default "kmeans") |
para |
the initial input parameters. Note: if you choose input parameters the kmeans method is disabled. para a list of the input parameters. para = list (pro, mu, Sigma, delta, nu). |
verbose |
debug mode. |
mcmc |
calculates moments moments with mcmc in R |
useR |
use algorithm programmed in R (default is C++ Algorithm). |
R2 |
use alternative R code. |
... |
other paramters. |
g |
the number of groups. |
an S4 object of the class fitmixout.
pro = 1; mu=1; Sigma=3; delta=2; nu=3; para = list(pro=pro,mu=mu,Sigma=Sigma,delta=delta,nu=nu) y <- rmixst(100,para) out <- fitmixst(y,g=1,method="kmeans")