Learn R Programming

finalfit (version 0.8.9)

round_tidy: Round values but keep trailing zeros

Description

Internal function, not called directly

Usage

round_tidy(x, digits)

Arguments

x

Numeric vector of values to round

digits

Integer of length one: value to round to.

Value

Vector of strings.

Details

e.g. for 3 decimal places I want 1.200, not 1.2.