drawAimSpot: Optimal Aiming Spot

Description Usage Arguments Author(s) Examples

Description

Draws the optimal aiming location, i.e. the spot with the highest expected score, on top of an existing plot.

Usage

1
drawAimSpot(e, col = "blue", pch = 19, ...)

Arguments

e

A matrix of the expected scores, created by the function simpleExpScores or generalExpScores.

col

The color of the dot.

pch

The plotting "character" for the dot.

...

More arguments for drawing the dot.

Author(s)

Ryan Tibshirani

Examples

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)


Search within the darts package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.