format_vector: Create a vector of formatted values

View source: R/formatting_helpers.R

format_vectorR Documentation

Create a vector of formatted values

Description

Create a vector of formatted values

Usage

format_vector(
  values,
  type = c("currency", "downloads", "percent", "users", "retention", "arpu"),
  ...
)

Arguments

values

Numeric vector to format

type

Type of formatting: "currency", "downloads", "percent", "users"

...

Additional arguments passed to formatting function

Value

Character vector of formatted values

Examples

format_vector(c(1234567, 2345678), "currency")
format_vector(c(0.234, 0.456), "percent")

sensortowerR documentation built on March 18, 2026, 5:07 p.m.