pars.character: Parameter Names

View source: R/pars.R

pars.characterR Documentation

Parameter Names

Description

Gets the parameter names.

Usage

## S3 method for class 'character'
pars(x, scalar = NULL, ...)

Arguments

x

An object.

scalar

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.

Value

A character vector of the names of the parameters.

See Also

universals::pars

Other parameters: pars.default(), pars.term_rcrd(), pars.term(), pars_terms()

Examples

pars(c("a", "b[1]", "a[3]"))

term documentation built on Sept. 29, 2022, 5:14 p.m.