plotReward: Plot the reward of a bandit object

View source: R/plot.R

plotRewardR Documentation

Plot the reward of a bandit object

Description

Plot the reward of a bandit object

Usage

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 Aug. 31, 2024, 12:44 p.m.