powered by
Specify Longclust method
lcMethodLongclust( response, time = getOption("latrend.time"), id = getOption("latrend.id"), nClusters = 2, ... )
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.
Arguments passed to longclust::longclustEM. The following external arguments are ignored: data, x, Gmin, Gmax, userseed.
mcnicholas2019longclustlatrend
Other lcMethod implementations: getArgumentDefaults(), getArgumentExclusions(), lcMethod-class, lcMethodAkmedoids, lcMethodCrimCV, lcMethodCustom, lcMethodDtwclust, lcMethodFeature, lcMethodFunFEM, lcMethodGCKM, lcMethodKML, lcMethodLMKM, lcMethodLcmmGBTM, lcMethodLcmmGMM, lcMethodMclustLLPA, lcMethodMixAK_GLMM, lcMethodMixtoolsGMM, lcMethodMixtoolsNPRM, lcMethodRandom, lcMethodStratify
getArgumentDefaults()
getArgumentExclusions()
lcMethod-class
lcMethodAkmedoids
lcMethodCrimCV
lcMethodCustom
lcMethodDtwclust
lcMethodFeature
lcMethodFunFEM
lcMethodGCKM
lcMethodKML
lcMethodLMKM
lcMethodLcmmGBTM
lcMethodLcmmGMM
lcMethodMclustLLPA
lcMethodMixAK_GLMM
lcMethodMixtoolsGMM
lcMethodMixtoolsNPRM
lcMethodRandom
lcMethodStratify
# NOT RUN { library(longclust) data(latrendData) method <- lcMethodLongclust("Y", id = "Id", time = "Time", nClusters = 3) model <- latrend(method, latrendData) # }
Run the code above in your browser using DataLab