format_valuef: Function factory for value formatting

Description Usage Arguments Value

View source: R/printMethods.R

Description

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

Usage

1
format_valuef(digits)

Arguments

digits

the number of decimals to print

Value

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


saviviro/gmvarkit documentation built on Oct. 25, 2021, 2:14 a.m.