plot.slise_bar: Plot the robust regression or explanation from slise as bar...

View source: R/plot.R

plot.slise_barR Documentation

Plot the robust regression or explanation from slise as bar plots

Description

Plot the robust regression or explanation from slise as bar plots

Usage

## S3 method for class 'slise_bar'
plot(
  slise,
  title = NULL,
  labels = c("Low", "High"),
  partial = FALSE,
  size = 8,
  ...
)

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)

size

The size of the segments (default: 8)

...

Ignored parameters

Value

List of ggplot objects or plot


edahelsinki/slise documentation built on Aug. 24, 2023, 11:03 p.m.