Generate a list of lcMethod objects
Generates a list of lcMethod objects for all combinations of the provided argument values.
lcMethods(method, ..., envir = NULL)
method |
The |
... |
Any other arguments to update the |
envir |
The |
A list of lcMethod objects.
data(latrendData)
baseMethod <- lcMethodKML("Y", id = "Id", time = "Time")
methods <- lcMethods(baseMethod, nClusters = 1:6)
nclus <- 1:6
methods <- lcMethods(baseMethod, nClusters = nclus)
methods <- lcMethods(baseMethod, nClusters = 3, center = .(mean, mean, median))
length(methods) # 3
methods <- lcMethods(baseMethod, nClusters = 1:3, center = .(mean, mean, median))
length(methods) # 9Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.