powered by
Subsets a term vector.
# S3 method for term subset(x, select = NULL, ...)
The object.
A character vector of the names of the parameters to include in the subsetted object.
Unused.
The modified term vector.
term-vector()
# NOT RUN { term <- as.term(c( "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