| plot.bandit | R Documentation |
Two plots (selectable by what) are currently available: a plot of the reward
over time, and a plot of model coefficients over time.
plot.bandit(x, what = "reward", ...)
x |
an object inheriting from class |
what |
the type of plot. Either |
... |
additional arguments passed to the plotting function. |
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.
plotReward, plotCoef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.