Skip to contents

Format thousands

Usage

thousand(x)

Arguments

x

numeric vector

Value

character vector where one thousands has a space to the next number

Examples

thousand(c(1000, 150000, 16000))
#> [1] "1 000"   "150 000" "16 000"