powered by
Sets an object's parameter names.
The assignment version pars<-() forwards to set_pars().
pars<-()
set_pars()
# S3 method for term set_pars(x, value, ...)
The modified object.
An object.
A character vector of the new parameter names.
Other arguments passed to methods.
value must be a unique character vector of the same length as the object's parameters.
value
Other parameters: npars(), pars()
npars()
pars()
term <- as_term(c("b[2]", "a[1]", "b[3,3]")) set_pars(term, c("x", "y"))
Run the code above in your browser using DataLab