drawBoard: Dartboard

Description Usage Arguments Author(s) Examples

View source: R/dartboard.R

Description

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

Usage

1
2
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).

Author(s)

Ryan Tibshirani

Examples

1
2
# Draw a new dartboard
drawBoard(new=TRUE)

Example output



darts documentation built on May 2, 2019, 8:22 a.m.