set_mode_of_action: Set mode of action

View source: R/set.R

set_mode_of_actionR Documentation

Set mode of action

Description

Updates the model parameter MoA to a certain value

Usage

set_mode_of_action(x, code)

set_moa(x, code)

Arguments

x

vector of EffectScenario objects

code

a code for a mode of action

Value

modified EffectScenario objects

Functions

  • set_moa(): Shorthand version

Examples

# Set MoA=8, i.e. hazard during oogenesis
americamysis %>%
  set_mode_of_action(8) %>%
  effect(method="ode45")

# alternative approach using the parameter directly
americamysis %>%
  set_param(c(MoA=8)) %>%
  effect(method="ode45")

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