my_lm: linear model

Description Usage Arguments Value Examples

View source: R/my_lm.R

Description

This function applies the linear regression

Usage

1

Arguments

formula

A R formula indicating

data

Dataframe that includes the data the user wants to apply regression to

Value

Table of coefficient estimate, coefficient standard error, coefficient t-value, coefficient p-value

Examples

1
my_lm(lifeExp ~ gdpPercap + continent, my_gapminder)

kobesar/mypackage documentation built on Dec. 21, 2021, 7:40 a.m.