Description Usage Arguments Value Examples
The function aims to take a data stream in a vector form and returns the demeaned data for further analysis. In short, the function calculates the mean of the data and element-wise substracts it from the entire vector
1 | demeaner(datastream)
|
datastream |
is a vector containing a one dimensional data stream |
The function returns a vector containing the demeaned data stream
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.