Learn R Programming

term (version 0.3.5)

pars_terms: Term Parameters

Description

Gets the name of each parameter for each term.

Usage

pars_terms(x, scalar = NULL, ...)

Value

A character vector of the term parameter names.

Arguments

x

A term vector.

scalar

A flag specifying whether to by default return all parameters (NULL), or only scalar parameters (TRUE) or only non-scalar parameters (FALSE).

...

Unused.

Details

The scalar argument is [Defunct].

See Also

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

Examples

Run this code
term <- term(
  "alpha[1]", "alpha[2]", "beta[1,1]", "beta[2,1]",
  "beta[1,2]", "beta[2,2]", "sigma", NA
)
pars_terms(term)

Run the code above in your browser using DataLab