Learn R Programming

lindia (version 0.10)

Automated Linear Regression Diagnostic

Description

Provides a set of streamlined functions that allow easy generation of linear regression diagnostic plots necessarily for checking linear model assumptions. This package is meant for easy scheming of linear regression diagnostics, while preserving merits of "The Grammar of Graphics" as implemented in 'ggplot2'. See the 'ggplot2' website for more information regarding the specific capability of graphics.

Copy Link

Version

Install

install.packages('lindia')

Monthly Downloads

568

Version

0.10

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yeuk Yu Lee

Last Published

August 10th, 2023

Functions in lindia (0.10)

gg_boxcox

Plot boxcox graph in ggplot with suggested lambda transformation
gg_cooksd

Plot cook's distance graph
gg_reshist

Generate histogram of residuals in ggplot.
gg_resleverage

Plot residual versus leverage plot in ggplot.
gg_resfitted

Generate residual plot of residuals against fitted value
gg_resX

Generate residual plot of residuals against predictors
gg_diagnose

Plot all diagnostic plots given fitted linear regression line.
gg_qqplot

Plot quantile-quantile plot (QQPlot) in ggplot with qqline shown.
gg_scalelocation

Plot scale-location (also called spread-location plot) in ggplot.
plot_all

Plot all given plots in a square matrix form.