View source: R/linear_regression_alt.R
slr_gd | R Documentation |
Implements simple linear regression by gradient descent
slr_gd(dat, response, explanatory)
dat |
A data frame |
response |
The name of a response variable in the data frame (unquoted) |
explanatory |
The name of the explanatory variable in the data frame (unquoted) |
A data frame of coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.