R/methodMixtoolsNPRM.R
lcMethodMixtoolsNPRM.Rd
Specify non-parametric estimation for independent repeated measures
The name of the response variable.
The name of the time variable.
The name of the trajectory identifier variable.
The number of clusters to estimate.
See mixtools::npEM.
See mixtools::npEM.
See mixtools::npEM.
Arguments passed to mixtools::npEM. The following optional arguments are ignored: data, x, mu0, verb.
Benaglia T, Chauveau D, Hunter DR, Young D (2009). “mixtools: An R Package for Analyzing Finite Mixture Models.” Journal of Statistical Software, 32(6), 1--29. doi:10.18637/jss.v032.i06 .
Other lcMethod implementations:
getArgumentDefaults()
,
getArgumentExclusions()
,
lcMethod-class
,
lcMethodAkmedoids
,
lcMethodCrimCV
,
lcMethodDtwclust
,
lcMethodFeature
,
lcMethodFunFEM
,
lcMethodFunction
,
lcMethodGCKM
,
lcMethodKML
,
lcMethodLMKM
,
lcMethodLcmmGBTM
,
lcMethodLcmmGMM
,
lcMethodMclustLLPA
,
lcMethodMixAK_GLMM
,
lcMethodMixtoolsGMM
,
lcMethodRandom
,
lcMethodStratify
data(latrendData)
if (require("mixtools")) {
method <- lcMethodMixtoolsNPRM("Y", id = "Id", time = "Time", nClusters = 3)
model <- latrend(method, latrendData)
}