Description Usage Arguments Value Examples
A linear regression y=kx+a
1 | lin(x, y)
|
x |
x-coordinates of data points, NAs will be ignored |
y |
y-coordinates of data points, NAs will be ignored |
a list with elements:
a |
intercept |
k |
slope |
r2 |
R-squared |
r |
correlation coefficient |
r.sd |
standard deviation of the correlation coefficient |
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.