as.list.lcMethod | R Documentation |
Extract the method arguments as a list
## S3 method for class 'lcMethod' as.list(x, ..., args = names(x), eval = TRUE, expand = FALSE, envir = NULL)
x |
The |
... |
Additional arguments. |
args |
A |
eval |
Whether to evaluate the arguments. |
expand |
Whether to return all method arguments when |
envir |
The |
A list
with the argument call
s or evaluated results depending on the value for eval
.
Other lcMethod functions:
[[,lcMethod-method
,
as.data.frame.lcMethods()
,
as.data.frame.lcMethod()
,
as.lcMethods()
,
evaluate.lcMethod()
,
formula.lcMethod()
,
lcMethod-class
,
names,lcMethod-method
,
update.lcMethod()
data(latrendData) method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time") as.list(method) as.list(method, args = c("id", "time")) if (require("kml")) { method <- lcMethodKML("Y", id = "Id", time = "Time") as.list(method) # select arguments used by kml() as.list(method, args = kml::kml) # select arguments used by either kml() or parALGO() as.list(method, args = c(kml::kml, kml::parALGO)) }