my_lm: Fitting linear models

View source: R/my_lm.R

my_lmR Documentation

Fitting linear models

Description

my_lm is used to fit linear models.

Usage

my_lm(formula, data)

Arguments

formula

A class object

data

A set of data

Value

A dataframe of summary with rows for each coefficient and columns for the Estimate, Std. Error, t value, and Pr(>|t|).

Examples

my_lm(mpg ~ hp + wt, mtcars)


yinuotxie/package302 documentation built on April 29, 2023, 7:13 a.m.