Description Usage Arguments Value Examples
View source: R/count_metrics.R
Calculates upper control limits for the reverse cusum control chart based on a 3σ significance level.
1 | rev_cusum_ucl(curr, delta_t)
|
curr |
vector of counts for current period (must be non-negative integer) |
delta_t |
number of time periods back in time. |
the smallest count greater than curr that would produce a statistically
significant poisson.test
1 2 | #For 3 weeks into the past using 7-day binned counts
rev_cusum_ucl(curr = 100L, delta_t = 3L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.