specify_decimal: Helper function that specifies trailing positions of decimals

View source: R/utils.R View source: R/supplementary_functions.R

specify_decimalR Documentation

Helper function that specifies trailing positions of decimals

Usage

specify_decimal(x, k)

specify_decimal(x, k)

Arguments

x

Any numeric

k

Trailing positions of numeric

Value

A numeric with the chosen trailing positions

A numeric with the chosen trailing positions

Examples

specify_decimal( 3.14159265359, 3)
specify_decimal( 3.14159265359, 3)

SebaStad/rPALM documentation built on June 4, 2024, noon