drawAimSpot {darts} | R Documentation |
Draws the optimal aiming location, i.e. the spot with the highest expected score, on top of an existing plot.
drawAimSpot(e, col = "blue", pch = 19, ...)
e |
A matrix of the expected scores, created by the function
|
col |
The color of the dot. |
pch |
The plotting "character" for the dot. |
... |
More arguments for drawing the dot. |
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 par(mfrow=c(1,2)) drawHeatmap(e) drawBoard(new=TRUE) drawAimSpot(e)