subset.term_rcrd {term}R Documentation

Subset Term Record

Description

Subsets a term_rcrd.

Usage

## S3 method for class 'term_rcrd'
subset(x, pars = NULL, ...)

Arguments

x

The object.

pars

A character vector of parameter names.

...

Unused.

Value

The modified term vector.

See Also

term_rcrd_object()

Examples

term_rcrd <- term_rcrd(
  "alpha[1]", "alpha[2]", "beta[1,1]", "beta[2,1]",
  "beta[1,2]", "beta[2,2]", "sigma"
)
## Not run: 
subset(term_rcrd, "beta")
subset(term_rcrd, c("alpha", "sigma"))

## End(Not run)

[Package term version 0.3.5 Index]