Skip to contents

Create a number vector

Usage

number(x = double(), digits = 2, locale = TRUE, log = NULL)

Arguments

x

A numeric vector.

digits

How many digits to round to when displaying the number. If not specified, a value will be inferred. If -1, all digits will be shown.

locale

Should the variable be displayed using its locale? For example, 1234.56 in US would be displayed as 1,234.56.

log

Should the variable's distribution be shown on the log scale? If not specified, an inference will be made based on its values.