half_life_factor: Half Life Factor

View source: R/utils_helpers.R

half_life_factorR Documentation

Half Life Factor

Description

Calculates from a time parameter and a percentage a value for the amount of a value that remains after 1 period of time

Usage

half_life_factor(t, p = 0.5)

Arguments

t

A number, the time it takes for an initial value to decay to 'p'% of the original value

p

A number, the percentage to reduce to (defaults to 50%)

Value

A value in \[0, 1\] that is the percentage that would remain after 1 time period elapses


The-Strategy-Unit/723_mh_covid_surge_modelling documentation built on April 13, 2022, 8:52 a.m.