powered by
Specify AKMedoids method
lcMethodAkmedoids( response, time = getOption("latrend.time"), id = getOption("latrend.id"), nClusters = 3, clusterCenter = median, crit = "Calinski_Harabasz", ... )
The name of the response variable.
The name of the time variable.
The name of the trajectory identification variable.
The number of clusters to estimate.
A function for computing the cluster center representation.
Criterion to apply for internal model selection. Not applicable.
Arguments passed to akmedoids::akclustr. The following external arguments are ignored: traj, id_field, k
adepeju2020akmedoidslatrend
Other lcMethod implementations: getArgumentDefaults(), getArgumentExclusions(), lcMethod-class, lcMethodCrimCV, lcMethodCustom, lcMethodDtwclust, lcMethodFeature, lcMethodFunFEM, lcMethodGCKM, lcMethodKML, lcMethodLMKM, lcMethodLcmmGBTM, lcMethodLcmmGMM, lcMethodMclustLLPA, lcMethodMixAK_GLMM, lcMethodMixtoolsGMM, lcMethodMixtoolsNPRM, lcMethodRandom, lcMethodStratify
getArgumentDefaults()
getArgumentExclusions()
lcMethod-class
lcMethodCrimCV
lcMethodCustom
lcMethodDtwclust
lcMethodFeature
lcMethodFunFEM
lcMethodGCKM
lcMethodKML
lcMethodLMKM
lcMethodLcmmGBTM
lcMethodLcmmGMM
lcMethodMclustLLPA
lcMethodMixAK_GLMM
lcMethodMixtoolsGMM
lcMethodMixtoolsNPRM
lcMethodRandom
lcMethodStratify
# NOT RUN { data(latrendData) if (require("akmedoids")) { method <- lcMethodAkmedoids(response = "Y", time = "Time", id = "Id", nClusters = 3) model <- latrend(method, data = latrendData) } # }
Run the code above in your browser using DataLab