Skip to contents

Plot the robust regression or explanation from slise with distributions

Usage

# S3 method for slise_distribution
plot(
  slise,
  title = NULL,
  labels = c("Low", "High"),
  partial = FALSE,
  signif = 3,
  ...
)

Arguments

slise

The slise object

title

The title of the plot (may include a `%s`, which will be replaced by the prediction)

labels

The class labels (vector with two strings: c(y_low, y_high), default: c("Low", "High"))

partial

Should the raw ggplot2 objects be returned instead of directly plotting (default: FALSE)

signif

The number of significant digits to display (default: 3)

...

Ignored parameters

Value

List of ggplot objects or plot