Used to calculate XMR data.
| 1 2 3 4 5 6 7 8 9 10 11 | 
| df | The dataframe or tibble to calculate from. Data must be in a tidy format. At least one variable for time and one variable for measure. | 
| measure | The column containing the measure. Must be in numeric format. | 
| recalc | Logical: if you'd like it to recalculate bounds. Defaults to True | 
| reuse | Logical: Should points be re-used in calculations? Defaults to False | 
| interval | The interval you'd like to use to calculate the averages. Defaults to 5. | 
| longrun | Used to determine rules for long run. First point is the 'n' of points used to recalculate with, and the second is to determine what qualifies as a long run. Default is c(5,8) which uses the first 5 points of a run of 8 to recalculate the bounds. If a single value is used, then that value is used twice i.e. c(6,6)) | 
| shortrun | Used to determine rules for a short run. The first point is the minimum number of points within the set to qualify a shortrun, and the second is the length of a possible set. Default is c(3,4) which states that 3 of 4 points need to pass the test to be used in a calculation. If a single value is used, then that value is used twice i.e. c(3,3)) | 
| testing | Logical to print test results | 
| prefer_longrun | Logical if you want to first test for long-runs or for short-runs. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.