Specify non-parametric estimation for independent repeated measures
lcMethodMixtoolsNPRM(
response,
time = getOption("latrend.time"),
id = getOption("latrend.id"),
nClusters = 2,
blockid = NULL,
bw = NULL,
h = NULL,
...
)
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.
benaglia2009mixtoolslatrend
Other lcMethod implementations:
lcMethod-class
,
lcMethodAkmedoids
,
lcMethodCrimCV
,
lcMethodCustom
,
lcMethodDtwclust
,
lcMethodFeature
,
lcMethodFunFEM
,
lcMethodGCKM
,
lcMethodKML
,
lcMethodLMKM
,
lcMethodLcmmGBTM
,
lcMethodLcmmGMM
,
lcMethodLongclust
,
lcMethodMclustLLPA
,
lcMethodMixAK_GLMM
,
lcMethodMixtoolsGMM
,
lcMethodRandom
,
lcMethodStratify
# NOT RUN {
library(mixtools)
data(latrendData)
method <- lcMethodMixtoolsNPRM("Y", id = "Id", time = "Time", nClusters = 3)
model <- latrend(method, latrendData)
# }
Run the code above in your browser using DataLab