pars.term | R Documentation |
Gets the parameter names.
## S3 method for class 'term'
pars(x, scalar = NULL, terms = FALSE, ...)
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). |
terms |
A flag specifying whether to return the parameter name for each term element. |
... |
Other arguments passed to methods. |
A character vector of the names of the parameters.
universals::pars
Other parameters:
pars.character()
,
pars.default()
,
pars.term_rcrd()
,
pars_terms()
term <- term(
"alpha[1]", "alpha[2]", "beta[1,1]", "beta[2,1]",
"beta[1,2]", "beta[2,2]", "sigma", NA
)
pars(term)
pars(term, scalar = TRUE)
pars(term, scalar = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.