lmfun: Display linear model objects with ease

Description Usage Arguments Details Value Examples

Description

This function simply prints the results of a simple linear regression in the form of a table of regression coefficients and qplot.

Usage

1
lmfun(x, y, mydata)

Arguments

x

The predictor variable.

y

The dependent variable.

mydata

The dataset to be referenced

Details

This function is silly in that it relies heavily on functions that already exist and live happily in other packages. However, it allows for efficient comparison of regression coefficients, p values and plots.

A list in this section may be excessive, but it is possible:

Value

A table and qplot x.

Examples

1
lmfun(x= gapminder$lifeExp, y = gapminder$gdpPercap, mydata = gapminder)

emwest/stat547HW09 documentation built on May 8, 2019, 6:52 p.m.