Learn R Programming

term (version 0.3.5)

pars.character: Parameter Names

Description

Gets the parameter names.

Usage

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

Value

A character vector of the names of the parameters.

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.

See Also

universals::pars

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

Examples

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

Run the code above in your browser using DataLab