lcMethods | R Documentation |
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 <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
methods <- lcMethods(baseMethod, nClusters = 1:6)
nclus <- 1:6
methods <- lcMethods(baseMethod, nClusters = nclus)
# list notation, useful for providing functions
methods <- lcMethods(baseMethod, nClusters = .(1, 3, 5))
length(methods) # 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.