plot_do_curve: Plot Dropout Curves

View source: R/do_curve.R

plot_do_curveR Documentation

Plot Dropout Curves

Description

This functions uses ggplot to create drop out curves.

Usage

plot_do_curve(
  d,
  linetypes = TRUE,
  stroke_width = 1,
  full_scale = TRUE,
  show_points = FALSE,
  color_palette = "color_blind"
)

Arguments

d

data.frame containing dropout statistics table computed by compute_stats. Make sure your stats table contains a do_idx column indexing all items sequentially.

linetypes

boolean show we use different linetypes, defaults to TRUE.

stroke_width

numeric stroke width, defaults to 1.

full_scale

boolean should scale range from 0,100? Defaults to TRUE, FALSE cuts off at max.

color_palette

character indicating which color palette to use. Defaults to 'color_blind', alternatively choose 'gray'.

show

points boolean should the plot show points for each item? Defaults to FALSE.


mbannert/dropR documentation built on March 28, 2024, 2:12 p.m.