Calculate linear trend using function glm for fitting generalized linear models.
1 | lin_trend(data_in, index_in)
|
data_in |
Numeric data vector. |
index_in |
Index 1 to length of data vector. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.