Learn R Programming

emoji (version 15.0)

arrow: Insert Arrow emojis

Description

Insert Arrow emojis

Usage

arrow(direction)

Arguments

direction

Character denoting the direction of the arrow. Should be one of “up”, “up-right”, “right”, “down-right”, “down”, “down-left”, “left”, “up-left”, “up-down”, or “left-right”.

Details

This function is vectorized. Wrong input of direction will result in NAs.

#@return Character vector of emojis.

Examples

Run this code
arrow("up-down")

arrow(c("up", "up", "down", "down", "left", "right", "left", "right"))

Run the code above in your browser using DataLab