Description Usage Arguments Value Examples
cusum_single
1 | cusum_single(x, target = NULL)
|
x |
a numeric vector from which to calculate the cumulative sum statistics |
target |
value to compare each element of x to. If not provided, the mean of x will be calculated and used as a target value |
a vector of the cumulative sum statistic, centred on the target value
1 2 | test_vec <- c(0.175, 0.152, 0.15, 0.207, 0.136, 0.212, 0.166)
cusum_single(test_vec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.