trim.cwm | R Documentation |
main function adapted from the original developer of CWM method.
trim.cwm(
X,
Y,
K,
niter = 20,
Ksteps = 10,
maxfactx = 5,
maxfacty = 5,
zero.tol = 1e-16,
zero.tol1 = 1e-16,
zero.tol2 = 1e-90,
trace = 0,
alpha = 0.1,
init = 5
)
X |
independent variables. |
Y |
response variable. |
K |
number of clusters. |
niter |
see original CWM method. |
Ksteps |
see original CWM method |
maxfactx |
see original CWM method |
maxfacty |
see original CWM method |
zero.tol |
see original CWM method |
zero.tol1 |
see original CWM method |
zero.tol2 |
see original CWM method |
trace |
see original CWM method |
alpha |
see original CWM method |
init |
number of initializations |
an RobMixReg object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.