Learn R Programming

darts (version 1.0)

drawBoard: Dartboard

Description

Draws the dartboard, either as a new plot or on top of an existing one.

Usage

drawBoard(new = FALSE, lines = TRUE, numbers = TRUE, outside = TRUE, col = "black", ...)

Arguments

new
Make a new plot?
lines
Draw the lines separating the regions?
numbers
Draw the numbers?
outside
Draw the numbers outside (or inside) the dartboard?
col
The color for the lines.
...
More arguments for drawing the numbers (text).

Examples

Run this code
# Draw a new dartboard
drawBoard(new=TRUE)

Run the code above in your browser using DataLab