setParamsUnchecked: Set parameters UNCHECKED

View source: R/params-functions.R

setParamsUncheckedR Documentation

Set parameters UNCHECKED

Description

Set multiple parameters in a Params object.

Usage

setParamsUnchecked(params, update = NULL, ...)

Arguments

params

Params object to set parameters in.

update

list of parameters to set where names(update) are the names of the parameters to set and the items in the list are values.

...

additional parameters to set. These are combined with any parameters specified in update.

Details

Each parameter is set by a call to setParam. If the same parameter is specified multiple times it will be set multiple times. Parameters can be specified using a list via update (useful when collecting parameter values in some way) or individually (useful when setting them manually), see examples. THE FINAL OBJECT IS NOT CHECKED FOR VALIDITY!

Value

Params object with updated values.


Oshlack/splatter documentation built on Dec. 10, 2024, 3:48 p.m.