Extract the method arguments as a list
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 calls 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,
update.lcMethod()
data(latrendData)
method <- lcMethodKML("Y", id = "Id", time = "Time")
as.list(method)
as.list(method, args = c('id', 'time'))
# 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))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.