signif_round_string {baizer}R Documentation

signif or round string depend on the character length

Description

signif or round string depend on the character length

Usage

signif_round_string(
  x,
  digits = 2,
  format = "short",
  full_large = TRUE,
  full_small = FALSE
)

Arguments

x

number

digits

signif or round digits

format

short or long

full_large

keep full digits for large number

full_small

keep full digits for small number

Value

signif or round strings

Examples

signif_round_string(1.214, 2)

[Package baizer version 0.8.0 Index]