set_endpoints {cvasi}R 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()

[Package cvasi version 1.1.3 Index]