my_lm: My Fitting Linear Models

Description Usage Arguments Value Examples

View source: R/my_lm.R

Description

my_lm is used to fit linear models.

Usage

1

Arguments

formula

a formula class object, which is a symbolic description of the model to be fitted.

data

an input data frame.

Value

A table with statistics for this linear model, invluding the (Intercept)! and columns for the Estimate, Std. Error, t value, and Pr(>|t|).

Examples

1
my_lm(formula = mpg ~ hp + wt, data = mtcars)

hugoliao330/stat302util documentation built on March 18, 2020, 12:12 a.m.