plot.bandit: Plot diagnostics for a bandit object

Description Usage Arguments Details See Also

Description

Two plots (selectable by what) are currently available: a plot of the reward over time, and a plot of model coefficients over time.

Usage

1
plot.bandit(x, what = "reward", ...)

Arguments

x

an object inheriting from class "bandit"

what

the type of plot. Either "reward" (the default) or "coef".

...

additional arguments passed to the plotting function.

Details

The plot.bandit method calls other plotting functions as specified by the parameter what. All plotting functions are prefixed with "plot", and have a data parameter that returns the raw data used for plotting when set to TRUE.

See Also

plotReward, plotCoef


rferrali/banditr documentation built on May 27, 2019, 5:56 a.m.