Description Usage Arguments Author(s) Examples
Draws a heatmap of the expected score as the aiming location varies across the dartboard, as a new plot.
1 | 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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.