half_life() gives the number of days for a component to fall to half,
\(\tau \ln 2\), and time_constant() gives the time
constant \(\tau\) of a half-life (MODELS.md, Notation).
Details
Impulse-response functions take time constants, never half-lives; print methods show the half-life next to each time constant (DECISIONS.md, D-024).
Examples
half_life(c(45, 15))
#> [1] 31.19162 10.39721
time_constant(7)
#> [1] 10.09887