R/pars.R
pars.character.Rd
Gets the parameter names.
# S3 method for class 'character' pars(x, scalar = NULL, ...)
An object.
A flag specifying whether to by default return all parameters (NULL), or only scalar parameters (TRUE) or only non-scalar parameters (FALSE).
Other arguments passed to methods.
A character vector of the names of the parameters.
universals::pars
Other parameters: pars.default(), pars.term(), pars.term_rcrd(), pars_terms()
pars.default()
pars.term()
pars.term_rcrd()
pars_terms()
pars(c("a", "b[1]", "a[3]")) #> [1] "a" "b"