Skip to contents

Adds commas to large numbers for easier readability.

Usage

add_commas(x)

Arguments

x

A numeric vector.

Value

A character vector of the same length as x with commas inserted as thousand separators.