plotReward: Plot the reward of a bandit object

Description Usage Arguments

Description

Plot the reward of a bandit object

Usage

1
2
plotReward(object, data = FALSE, cumulative = TRUE, expectedReward = TRUE,
  maxReward, ...)

Arguments

object

an object inheriting from class "bandit"

data

logical: should the raw plot data be returned?

cumulative

logical: should the cumulative reward be plotted?

expectedReward

logical: should the expected reward be plotted?

maxReward

logical: should the maximum reward be plotted? (only supported for binomial models).

...

additional parameters passed to plot.default


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