drawHeatmap: Heatmap of Expected Scores

Description Usage Arguments Author(s) Examples

View source: R/maxscore.R

Description

Draws a heatmap of the expected score as the aiming location varies across the dartboard, as a new plot.

Usage

1

Arguments

e

A matrix of the expected scores, created by the function simpleExpScores or generalExpScores.

col

The colors to use for the heatmap.

Author(s)

Ryan Tibshirani

Examples

1
2
3
4
5
6
# This will take a couple of seconds
e = simpleExpScores(s=0)

# This is what your heatmap would look like if you had
# perfect accuracy
drawHeatmap(e)

Example output

Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf

darts documentation built on May 2, 2019, 8:22 a.m.