survival: Survival rate

View source: R/survival.R

survivalR Documentation

Survival rate

Description

Deprecated function. Derives the survival rate of individuals for Reduced GUTS models. Was replaced by simulate().

Usage

survival(scenario, ...)

Arguments

scenario

an EffectScenario to simulate

...

additional parameters passed on to simulate()

Details

The survival rate describes the survival probability at each time point. The function simulates the GUTS scenario and appends a column survival to the simulation result. A value of one (1.0) denotes that all individuals survive. A value of zero (0.0) denotes that no individuals survived.

Only available for Reduced GUTS models, see GUTS-RED-models. The equations were described by EFSA (2018).

Value

a data.frame containing simulation results

References

EFSA PPR Panel (EFSA Panel on Plant Protection Products and their Residues), Ockleford C, Adriaanse P, Berny P, et al., 2018: Scientific Opinion on the state of the art of Toxicokinetic/Toxicodynamic (TKTD) effect models for regulatory risk assessment of pesticides for aquatic organisms. EFSA Journal 2018; 16(8):5377, 188 pp. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2903/j.efsa.2018.5377")}

See Also

GUTS-RED-models

Examples

# calculate survival rate
minnow_it %>% survival()

# plot survival over time based on a random exposure profile
minnow_sd %>%
  set_exposure(data.frame(t=1:100, c=runif(100)*10)) %>%
  survival() -> df
plot(df$time, df$survival, "l")

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