Skip to content

Register a diagnostic plot

Source: R/diagnosticsRegistry.R ยท Help: ?registerPlot

Register a diagnostic plot

Usage

registerPlot(name, fun)

Arguments

name
Name of the plot
fun
Function taking a model and returning a ggplot object

Value

Invisibly returns NULL.

Examples

registerPlot("custom_plot", function(model) ggplot2::ggplot())