Change in an indicator between two periods, where both are reliable
Source:R/temporal.R
calc_period_change.RdJoins the cells of two periods from calc_period_indicators() and keeps
those with n >= esn in both, so ES(n) is defined on each side. Also
reports how coverage changed (cells reliable only in one period).
Usage
calc_period_change(df, from, to, esn = 50L, indicator = c("es", "sp"))Arguments
- df
output of
calc_period_indicators().- from, to
the two
periodvalues to compare.- esn
reliability floor on
n(default 50, the ES(50) floor).- indicator
which indicator to difference (
"es"or"sp").