drawHeatmap {darts} | R Documentation |
Draws a heatmap of the expected score as the aiming location varies across the dartboard, as a new plot.
drawHeatmap(e, col = heat.colors(30))
e |
A matrix of the expected scores, created by the function
|
col |
The colors to use for the heatmap. |
Ryan Tibshirani
# 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)