fit_lm | R Documentation |
fit linear model based on input data.frame
fit_lm(y_str, X, verbose = TRUE)
y_str |
a string representation of the column in |
X |
a data.frame or matrix that contains the predictor and outcome variables |
verbose |
if |
A lm
object where the y_str
column has been regressed against the remaining
columns of X
(with an intercept term as well).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.