Description Usage Arguments Details Value Examples
View source: R/intervention_breakpts.R
This function detects breakpoints where the slope of rates of cases change
1 | intervention_breakpts(x, y)
|
x |
Date range in julian date, origin = '2019-12-31' |
y |
Rate of change, k in y = Ae^(kx) |
This is adapted from an R script written by Markus Loew on RPubs. breakpoints() in struccchange package by Achim Zeileis was used to estimate psi param in segmentation function
Date of elbow changepoint in Julian and Date format
1 | intervention_breakpts(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.