Learn R Programming

gogamer (version 0.4.3)

addmarkers: Add markers

Description

Add markers

Usage

addmarkers(gg, x, y, color, marker = 17, ...)

Arguments

gg
ggplot object
x, y
integer vectors of stone locations
color
integer vector of stone colors
marker
scalar integer indicating the shape of marker
...
graphic parameters

Value

ggoban object

See Also

ggoban, graphic_parameters

Examples

Run this code
ggoban(19) %>%
  addstones(10, 10, 1) %>%
  addmarkers(10, 10, 1)

Run the code above in your browser using DataLab