set_pars.term | R Documentation |
Sets an object's parameter names.
The assignment version pars<-()
forwards to set_pars()
.
## S3 method for class 'term'
set_pars(x, value, ...)
x |
An object. |
value |
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.
The modified object.
Other parameters:
npars()
,
pars()
term <- as_term(c("b[2]", "a[1]", "b[3,3]"))
set_pars(term, c("x", "y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.