lcMethodMixtoolsNPRM: Specify non-parametric estimation for independent repeated...

View source: R/methodMixtoolsNPRM.R

lcMethodMixtoolsNPRMR Documentation

Specify non-parametric estimation for independent repeated measures

Description

Specify non-parametric estimation for independent repeated measures

Usage

lcMethodMixtoolsNPRM(
  response,
  time = getOption("latrend.time"),
  id = getOption("latrend.id"),
  nClusters = 2,
  blockid = NULL,
  bw = NULL,
  h = NULL,
  ...
)

Arguments

response

The name of the response variable.

time

The name of the time variable.

id

The name of the trajectory identifier variable.

nClusters

The number of clusters to estimate.

blockid

See mixtools::npEM.

bw

See mixtools::npEM.

h

See mixtools::npEM.

...

Arguments passed to mixtools::npEM. The following optional arguments are ignored: data, x, mu0, verb.

References

\insertRef

benaglia2009mixtoolslatrend

See Also

Other lcMethod implementations: getArgumentDefaults(), getArgumentExclusions(), lcMethod-class, lcMethodAkmedoids, lcMethodCrimCV, lcMethodDtwclust, lcMethodFeature, lcMethodFunFEM, lcMethodFunction, lcMethodGCKM, lcMethodKML, lcMethodLMKM, lcMethodLcmmGBTM, lcMethodLcmmGMM, lcMethodMclustLLPA, lcMethodMixAK_GLMM, lcMethodMixtoolsGMM, lcMethodRandom, lcMethodStratify

Examples

data(latrendData)

if (require("mixtools")) {
  method <- lcMethodMixtoolsNPRM("Y", id = "Id", time = "Time", nClusters = 3)
  model <- latrend(method, latrendData)
}

latrend documentation built on March 31, 2023, 5:45 p.m.