subset.term_rcrd | R Documentation |
Subsets a term_rcrd.
## S3 method for class 'term_rcrd'
subset(x, pars = NULL, ...)
x |
The object. |
pars |
A character vector of parameter names. |
... |
These dots are for future extensions and must be empty. |
The modified term vector.
term_rcrd_object()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.