shape | R Documentation |
Insert Arrow emojis
shape(color, type)
color |
Character, denoting the color of the shape. Must be one of "red", "orange", "yellow", "green", "blue", "purple", "brown", "black", "white". |
type |
Character, denoting the type of shape. Must be one of "heart", "circle", or "square. |
This function is vectorized.
#@return Character vector of emojis.
shape("yellow", "heart")
shape("yellow", c("heart", "circle", "square"))
shape(color = c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
type = "circle")
outer(
c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
c("heart", "circle", "square"),
shape
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.