set_mode_of_action {cvasi} | R 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 |
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")
[Package cvasi version 1.1.3 Index]