translate_shape_string | R Documentation |
translate_shape_string()
is a helper function for translating point shapes
given as a character vector into integers that are interpreted by the
grid system.
translate_shape_string(shape_string)
shape_string |
A character vector giving point shapes. |
An integer vector with translated shapes.
translate_shape_string(c("circle", "square", "triangle"))
# Strings with 1 or less characters are interpreted as symbols
translate_shape_string(c("a", "b", "?"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.