Skip to contents

Produces a match-weight histogram from scored pairs, or a waterfall chart for a single pair when which is provided. This is a convenience wrapper around ggplot2::ggplot(). For full control, build a plot directly from the prediction result or from il_waterfall().

Usage

# S3 method for class 'il_compared'
autoplot(object, which = NULL, ...)

Arguments

object

An il_compared tibble from predict.il_model().

which

An optional integer index. If provided, produces a waterfall chart for that pair. If NULL (default), produces a histogram.

...

Additional arguments (currently unused).

Value

A ggplot2::ggplot() object.