set_pars: Set Parameters

View source: R/set-pars.R

set_parsR Documentation

Set Parameters

Description

Sets an object's parameter names.

The assignment version pars<-() forwards to set_pars().

Usage

set_pars(x, value, ...)

pars(x) <- value

Arguments

x

An object.

value

A character vector of the new parameter names.

...

Other arguments passed to methods.

Details

value must be a unique character vector of the same length as the object's parameters.

Value

The modified object.

See Also

Other parameters: npars(), pars()


universals documentation built on Sept. 22, 2022, 5:07 p.m.