powered by
Gets the parameter names.
# S3 method for nlist pars(x, scalar = NULL, terms = FALSE, ...)
A character vector of the names of the parameters.
An object.
A logical scalar specifying whether to include all parameters (NULL), only scalars (TRUE) or all parameters except scalars (FALSE).
A flag specifying whether to return the parameter name for each term element.
Other arguments passed to methods.
Other parameters: npars(), set_pars()
npars()
set_pars()
pars(nlist(zz = 1, y = 3:6))
Run the code above in your browser using DataLab