add_RDI_line: add_RDI_line

Description Usage Arguments Value Examples

View source: R/add_RDI_line.R

Description

add_RDI_line

Usage

1
2
3
4
5
add_RDI_line(
  RDI = 0.15,
  coeff_traj = c(a = 13.532, b = -1.461, a0 = 14.21, b0 = -1.79),
  ...
)

Arguments

RDI

numeric between 0 and 1

coeff_traj

coefficient a, b, a0, and b0 of the mortality trajectory (cf : Ningre et al "Trajectoires d auto-eclaircie du Douglas en France)

...

other argument passed on to layer (ex : color, linetype, ...)

Value

ggplot objetc correpsonding to an RDI line

Examples

1
## Not run: add_RDI_line(RDI = 0.15, linetype = "dashed", color = "red")

paul-carteron/SimCop documentation built on Dec. 22, 2021, 6:42 a.m.