set_param: Set model parameters

set_paramR Documentation

Set model parameters

Description

Modifies the parameters of one or more EffectScenario objects.

Usage

set_param(x, param)

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

## S4 method for signature 'EffectScenario,parameter_set'
set_param(x, param)

## S4 method for signature 'list,parameter_set'
set_param(x, param)

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

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

## S4 method for signature 'ScenarioSequence,parameter_set'
set_param(x, param)

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.

Value

Vector of modified objects

Examples

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

cvasi documentation built on Sept. 23, 2024, 9:08 a.m.