Skip to contents

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())