Description Usage Arguments Details Value Examples
Given data frame d, returns a data frame of the various regression statistics
1 | lm_stats(d, xvar, yvar)
|
d |
Data frame containing at least two numeric columns |
xvar |
Numeric column to be used as the independant variable for the regression |
yvar |
Numeric column to be used as the dependant variable for the regression |
include some details here
Returns a one-row data frame containing (at present): slope, intercept, slope standard error, intercept standard error, p value, r-squared, and number of points.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.