powered by
Subsets a term vector.
# S3 method for term subset(x, pars = NULL, select = NULL, ...)
The modified term vector.
The object.
A character vector of parameter names.
A character vector of the names of the parameters to include in the subsetted object.
Unused.
The select argument is .
select
term-vector()
term <- term( "alpha[1]", "alpha[2]", "beta[1,1]", "beta[2,1]", "beta[1,2]", "beta[2,2]", "sigma" ) subset(term, "beta") subset(term, c("alpha", "sigma"))
Run the code above in your browser using DataLab