format_currency_vec: format_currency_vec

Description Usage Arguments Examples

View source: R/format-vec.R

Description

format numeric vectors with a currency symbol for reports

Usage

1
format_currency_vec(x, digits = 2)

Arguments

x

numeric vector

digits

number of digits afer the decimal point

Examples

1
2
3
4
x <- seq(1000, 3000, by = 1000)

format_currency_vec(x)
format_currency_vec(x, digits = 2)

merlinoa/summaryrow documentation built on May 22, 2017, 4:16 a.m.