
Last chance! 50% off unlimited learning
Sale ends in
Effect endpoints calculated by functions such as effect()
and epx()
can be enabled and disabled. If an endpoint is not required for an assessment,
it should be disabled for reasons of computational efficiency. Please refer
to the model description for a list of available endpoints.
set_endpoints(x, endpoints)
Modified EffectScenario
objects
vector of EffectScenario
objects
character
vector of endpoint names
# Only enable reproduction (R) endpoint for americamysis scenario
americamysis %>%
set_endpoints("R") %>%
effect()
# Enable endpoints length (L) and reproduction (R)
americamysis %>%
set_endpoints(c("L","R")) %>%
effect()
Run the code above in your browser using DataLab