Learn R Programming

DescrTab2 (version 2.1.16)

sigfig: Format number to a specified number of digits, considering threshold for usage of scientific notation

Description

Format number to a specified number of digits, considering threshold for usage of scientific notation

Usage

sigfig(
  x,
  digits = 3,
  scientific_high_threshold = 6,
  scientific_low_threshold = -6,
  force_0_behind_0 = FALSE
)

Value

a

Arguments

x

a

digits

a

scientific_high_threshold

a

scientific_low_threshold

a

force_0_behind_0

a