arrow_sep: Unicode arrow separators

View source: R/utils.R

arrow_sepR Documentation

Unicode arrow separators

Description

Utility function for generating unicode arrow separators.

Usage

arrow_sep(towards = c("right", "left"), unicode = FALSE)

Arguments

towards

the direction the unicode arrow points towards

unicode

whether unicode arrows should be used. Does not work inside plots within knitted PDF documents.

Value

a string containing an unicode arrow surrounded by two spaces

Examples

arrow_sep("left") # left arrrow
arrow_sep("right") # right arrrow

Shians/CellBench documentation built on Oct. 16, 2023, 7:54 a.m.