Learn R Programming

cvasi (version 1.4.0)

set_param: Set model parameters

Description

Modifies the parameters of one or more EffectScenario objects.

Usage

set_param(x, param)

# S4 method for EffectScenario,vector set_param(x, param)

# S4 method for EffectScenario,ParameterSet set_param(x, param)

# S4 method for list,ParameterSet set_param(x, param)

# S4 method for list,vector set_param(x, param)

# S4 method for ScenarioSequence,vector set_param(x, param)

# S4 method for ScenarioSequence,ParameterSet set_param(x, param)

Value

Vector of modified objects

Arguments

x

object(s) to modify

param

named numeric vector with parameter names and value OR a list of parameter_set objects

Details

Most parameters are represented by numerical types but other types are possible depending on model. Please refer to the model description which parameters are required and in which unit. Some or all parameters may be required to start a simulation. If required parameters are missing, simulation will fail with an error message.

Examples

Run this code
Lemna_Schmitt() %>% set_param(c(Emax=1,EC50=0.12))

Run the code above in your browser using DataLab