ols_model | R Documentation |
Fitting a simple or multiple linear regression
ols_model(data, y, x)
data |
A data frame containing the variables to use |
y |
The dependent variable |
x |
Set of independent variables |
A tibble of the coefficients, standard errors, t-statistics and p-value
Mutua Kilai
ols_model(data = eduperform, "pi", c("hs", "ps"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.