View source: R/LinearRegression.R
linearRegression | R Documentation |
linear regression
linearRegression(
X,
y,
alpha = 0.01,
lambda = 0,
max.iter = 1000,
degree = 1,
normalEqn = FALSE,
featureNormalize = FALSE
)
X |
x values (a column of 1 was added) |
y |
y values |
alpha |
learning rate |
max.iter |
number of iteration |
degree |
feature degree |
A linearRegressionResult
instance.
Guangchuang Yu https://yulab-smu.top
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.