set_endpoints: Set effect endpoints

View source: R/set.R

set_endpointsR Documentation

Set effect endpoints

Description

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.

Usage

set_endpoints(x, endpoints)

Arguments

x

vector of EffectScenario objects

endpoints

character vector of endpoint names

Value

Modified EffectScenario objects

Examples

# 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()

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