powered by
Sets an object's parameter names.
The assignment version pars<-() forwards to set_pars().
pars<-()
set_pars()
set_pars(x, value, ...)pars(x) <- value
pars(x) <- value
An object.
A character vector of the new parameter names.
Other arguments passed to methods.
The modified object.
value must be a unique character vector of the same length as the object's parameters.
value
Other parameters: npars(), pars()
npars()
pars()
# NOT RUN { set_pars.foobar <- function(x, ...) { NotYetImplemented() # replace with code to set_pars for an object of class 'foobar' } # }
Run the code above in your browser using DataLab