Description Usage Arguments Examples
View source: R/lm_graddescent.R
This function creates a linear model using gradient descent.
1 | lm_graddescent(f, d, gamma, n, contrasts = NULL)
|
f |
a formula the data will be fit too |
d |
the data to be fit (a data frame) |
gamma |
the step size (a positive number) |
n |
number of iterations (a positive integer) |
contrasts |
a list of variable names to be used as factor variables |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.