Insert Arrow emojis
Arguments
- 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.
Examples
shape("yellow", "heart")
#> [1] "💛"
shape("yellow", c("heart", "circle", "square"))
#> [1] "💛" "\U{01f7e1}" "\U{01f7e8}"
shape(color = c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
type = "circle")
#> [1] "🔴" "\U{01f7e0}" "\U{01f7e1}" "\U{01f7e2}" "🔵"
#> [6] "\U{01f7e3}" "\U{01f7e4}" "⚫" "⚪"
outer(
c("red", "orange", "yellow", "green", "blue",
"purple", "brown", "black", "white"),
c("heart", "circle", "square"),
shape
)
#> [,1] [,2] [,3]
#> [1,] "❤️" "🔴" "\U{01f7e5}"
#> [2,] "\U{01f9e1}" "\U{01f7e0}" "\U{01f7e7}"
#> [3,] "💛" "\U{01f7e1}" "\U{01f7e8}"
#> [4,] "💚" "\U{01f7e2}" "\U{01f7e9}"
#> [5,] "💙" "🔵" "\U{01f7e6}"
#> [6,] "💜" "\U{01f7e3}" "\U{01f7ea}"
#> [7,] "\U{01f90e}" "\U{01f7e4}" "\U{01f7eb}"
#> [8,] "🖤" "⚫" "⬛"
#> [9,] "\U{01f90d}" "⚪" "⬜"