plot_model: Plot model diagnostics

Description Usage Arguments Details Value Examples

View source: R/plot_model.R

Description

Plotting functions for some common model diagnostics.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

model

An object containing a model.

Details

plot_model_residual_fitted() plots the model residuals versus the fitted values. plot_model_scale_location() plots the square root of absolute value of the model residuals versus the fitted values. plot_model_qq() plots a QQ plot of the model standardized residuals. plot_model_cooks_distance() plots a bat chart of each observation Cook's distance value. plot_model_multicollinearity() plots a bar chart of the variance inflation factor (VIF) for each of the model terms. plot_model() returns a plot grid with all the applicable plot diagnostics to a given model.

Value

A ggplot object.

Examples

1
2
3
4
5
6
7

lvmisc documentation built on April 5, 2021, 5:06 p.m.