shape: Insert Arrow emojis

View source: R/shape.R

shapeR Documentation

Insert Arrow emojis

Description

Insert Arrow emojis

Usage

shape(color, type)

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.

Details

This function is vectorized.

#@return Character vector of emojis.

Examples

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
)

emoji documentation built on Oct. 30, 2024, 9:28 a.m.