plot_karl: plot_karl

Description Usage Arguments Details Value Author(s) See Also

View source: R/plot_karl.R

Description

Plots various diagnostic plots for the linear model object from the 'Karl::LinearRegression' function.

Usage

1
2
3
4
## `lm` is the linear model object
## from the LinearRegression function

plot_karl(lm)

Arguments

linear model object: a list of lists containing:

fitted

the fitted values,

residuals

the residuals.

Details

This function is used to plot the linear model object from the LinearRegression function. The linear model object is a list of lists that includes weights, fitted values, and residuals. This function will return 3 types of plots, which include:

-Residuals vs Fitted Plot

-Normal Q-Q Plot

Value

-Residuals vs Fitted Plot

-Normal Q-Q Plot

-Fitted vs True Value Plot(s)

Author(s)

Teddy Haley

See Also

LinearRegression, EDA


UBC-MDS/Karl documentation built on May 22, 2019, 1:53 p.m.