drawHeatmap {darts}R Documentation

Heatmap of Expected Scores

Description

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

Usage

drawHeatmap(e, col = heat.colors(30))

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

# 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)

[Package darts version 1.0 Index]