turn a loon point glyph to an R graphics
plotting 'character' (pch)
glyph_to_pch(glyph)
glyph | glyph type in |
---|
a pch
type
glyph_to_pch(c("circle", "ocircle", "ccircle", "square", "osquare", "csquare", "triangle", "otriangle", "ctriangle", "diamond", "cdiamond", "odiamond", "foo"))#> circle ocircle ccircle square osquare csquare triangle otriangle #> 19 1 21 15 0 22 17 2 #> ctriangle diamond cdiamond odiamond foo #> 24 18 23 5 NA