darkly_format: Format helper function for labels

Description Usage Arguments

View source: R/darkly_format.R

Description

Format helper function for labels

Usage

1
darkly_format(x, labelx, n.decimals = 2)

Arguments

x

input vector frame requires input

labelx

label identifier, takes "round" or "percent', all others default to character

n.decimals

when labelx=round digits parameter for round(), when labelx=percent accuracy parameter for scales::percent()


lenkiefer/darklyplot documentation built on July 4, 2020, 12:04 a.m.