powered by
Subsets an nlist object by its parameters.
# S3 method for nlist subset(x, pars = NULL, ...)
An nlist object.
A character vector of parameter names.
Unused.
It can also be used to reorder the parameters.
# NOT RUN { nlist <- nlist(a = 1, y = 3, x = 1:4) subset(nlist) subset(nlist, "a") subset(nlist, c("x", "a")) # }
Run the code above in your browser using DataLab