addstones: Add stones to go board

Description Usage Arguments Value See Also Examples

View source: R/draw.R

Description

Add stones to go board

Usage

1
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

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

kota7/gogamer documentation built on May 20, 2019, 1:10 p.m.