format_valuef function

Function factory for value formatting

Function factory for value formatting

format_valuef is a function factory for formatting values with certain number of digits.

format_valuef(digits)

Arguments

  • digits: the number of decimals to print

Returns

Returns a function that takes an atomic vector as argument and returns it formatted to character with digits decimals.

  • Maintainer: Savi Virolainen
  • License: GPL-3
  • Last published: 2025-02-27