fmt_decimal function

Rounding with decimal digits in the fmt argument

Rounding with decimal digits in the fmt argument

fmt_decimal(digits = 3, pdigits = NULL, ...)

Arguments

  • digits: Number of decimal digits to keep, including trailing zeros.
  • pdigits: Number of decimal digits to keep for p values. If NULL, the value of digits is used.
  • ...: Additional arguments are passed to the format() function (e.g., big.marks, scientific). See ?format
  • Maintainer: Vincent Arel-Bundock
  • License: GPL-3
  • Last published: 2025-02-02