Description Usage Arguments Examples
This function works in the same manner as Helper Function 1 but this time time the vector x has no consecutive 0's. This function takes vector x of raw observations with no consecutive 0's, make sure there is enough data to perform the D1 Method (if not, it will return NULL), and then calculate the D1 Method.
1 |
x |
A sequential change of SWE values. This is a vector object. |
1 2 | x <- c(1, 2, 0, 4, 5, 0, 3, 0, 2, 1, 3)
rdailychange:::d1_method_from_vector(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.