Learn R Programming

whatifbandit (version 0.3.0)

plot_arms: Plot Treatment Arms Over Time

Description

Helper to plot.mab(); plots treatment arms over time.

Usage

plot_arms(x, ...)

Value

ggplot object

Minimal ggplot object, that can be customized and added to with + (to change scales, labels, legend, theme, etc.).

Arguments

x

A mab object passed from plot.mab()

...

Arguments to pass to ggplot2::geom_* function (e.g. color, linewidth, alpha, bins etc.).