Update a method specification
Update a method specification
## S3 method for class 'lcMethod' update(object, ..., .eval = FALSE, .remove = character(), envir = NULL)
object |
The |
... |
The new or updated method argument values. |
.eval |
Whether to assign the evaluated argument values to the method. By default ( |
.remove |
Names of arguments that should be removed. |
envir |
The |
Updates or adds arguments to a lcMethod object. The inputs are evaluated in order to determine the presence of formula objects, which are updated accordingly.
The new lcMethod object with the additional or updated arguments.
Other lcMethod functions:
[[,lcMethod-method,
as.data.frame.lcMethods(),
as.data.frame.lcMethod(),
as.lcMethods(),
as.list.lcMethod(),
evaluate.lcMethod(),
formula.lcMethod(),
lcMethod-class
m <- lcMethodMixtoolsGMM(Value ~ 1) m2 <- update(m, formula = ~ . + Time) m3 <- update(m2, nClusters = 3) k <- 2 m4 <- update(m, nClusters = k) # nClusters: k m5 <- update(m, nClusters = k, .eval = TRUE) # nClusters: 2
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.