Description Usage Arguments Value
Creates a linear model of the form $y=mx+b$ and returns useful parameters, including: * slope * standard error of the slope * intercept * standard error of the intercept * p value * number of points Tries hard to catch errors and return NA in those cases. This is an early version of 'lm_stats' in the **enzalyze** package: github.com/adsteen/enzalyze
1 | corr_stats(d, xvar, yvar)
|
d |
Data frame containing the data in question |
xvar |
Name of the x variable (as character) |
yvar |
Name of the y variable (as character) |
A 1-row data frame (no, it makes no sense to do it this way.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.