linear_model: Linear Model

Description Usage Arguments Value Examples

View source: R/linear_model.R

Description

Calculates coefficient estimates, standard errors, t-statistics, and p-values, as well as R squared, adjusted R squared, F-Statistic and p-value for model.

Usage

1

Arguments

Y

input outcome

X

input predictor(s)

Value

estimated effects of X on Y through OLS

Examples

1
2
linear_model(Y=mtcars[,"mpg"],X=mtcars[,"hp"])
linear_model(Y=mtcars[,"mpg"],X=mtcars[,2:11])

csmorgan1/linmod documentation built on Dec. 31, 2020, 10:10 p.m.