Learn R Programming

gogamer (version 0.4.3)

addstones: Add stones to go board

Description

Add stones to go board

Usage

addstones(gg, x, y, color, number = NULL, ...)

Arguments

gg
ggplot object
x, y
integer vectors of stone locations
color
integer vector of stone colors
number
integer vector of numbers on stones
...
graphic parameters

Value

ggoban object

See Also

ggoban, graphic_parameters

Examples

Run this code
ggoban(19) %>%
  addstones(c(10, 11), c(10, 10), c(1, 2), c(10, 11))

Run the code above in your browser using DataLab