Skip to contents

Plot the robust regression or explanation from slise based on predictions

Usage

# S3 method for slise_prediction
plot(
  slise,
  title = NULL,
  labels = c("Response", "Count"),
  partial = FALSE,
  approximation = TRUE,
  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 axis labels (default: c("Response", "Count"))

partial

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

approximation

Should the approximation density be added (default: TRUE)

signif

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

...

Ignored parameters

Value

ggplot object or plot