my_lm: Fits a Linear Model

Description Usage Arguments Value Examples

View source: R/my_lm.R

Description

This function fits a linear model using the data.

Usage

1
my_lm(lm_form, lm_data)

Arguments

lm_form

Formula used to fit model.

lm_data

Numeric data used to fit model.

Value

List with values: Estimate - Numeric coefficient of gitted model, Std. Error - Numeric standard error of coefficient, t value - Numeric test-statistic of coefficient, Pr(>|t|) - Numeric p-value of coefficient.

Examples

1
my_lm(speed ~ dist, cars)

toadmengo/Proj3Package documentation built on March 22, 2021, 2:41 p.m.