pars.character {term}R 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]"))

[Package term version 0.3.5 Index]