my_lm: Linear model function

Description Usage Arguments Value Examples

View source: R/my_lm.R

Description

This function fits a linear model to the given data.

Usage

1

Arguments

formula

general function input from a set of data.

data

data input.

Value

A table with the calculated estimates, standard error, t-values, and p values

Examples

1
my_lm(formula = lifeExp ~ gdpPercap + continent, data = my_gapminder)

alishaluo/STAT302package documentation built on March 17, 2020, 4:37 a.m.