Learn R Programming

baizer (version 0.8.0)

signif_round_string: 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
)

Value

signif or round strings

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

Examples

Run this code
signif_round_string(1.214, 2)

Run the code above in your browser using DataLab