powered by
Gets the parameter names for an nlists_object().
nlists_object()
# S3 method for nlists pars(x, scalar = NA, terms = FALSE, ...)
An nlists object.
A logical scalar specifying whether to get the names of all parameters (NA), only scalars (TRUE) or all parameters except scalars (FALSE).
A flag specifying whether to return the parameter name for each term.
Unused.
A character vector of the parameter names.
# NOT RUN { term::pars(nlists(nlist(zz = 1, y = 3:6), nlist(zz = 4, y = 13:16))) # }
Run the code above in your browser using DataLab