Description Usage Arguments Value Examples
This function fits a linear model.
1 |
formula |
a formula class object, similar to lm(). |
data |
An input data frame. |
A dataframe with rows for each coefficient and columns for
the Estimate
, Std. Error
, t value
, and Pr(>|t|)
with row and column names.
1 | my_lm(y ~ x, data.frame(x = rnorm(100, 0, 1), y = rnorm(100, 0, 1)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.