digits: Print exact decimal places

Description Usage Arguments Value

View source: R/utils.R

Description

Print exact decimal places

Usage

1
digits(x, k = 2)

Arguments

x

Vector of numbers.

k

Number of decimal places.

Value

A character vector of the number rounded to k decimal places.


mdporter/R6018 documentation built on Feb. 15, 2021, 7:56 p.m.