Description Usage Arguments Author(s) Examples
Draws the optimal aiming location, i.e. the spot with the highest expected score, on top of an existing plot.
1 | 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
1 2 3 4 5 6 7 8 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.