round.dt: Rounds every numeric column of a data.table to given...

View source: R/utilities.R

round.dtR Documentation

Rounds every numeric column of a data.table to given precision

Description

Rounds every numeric column of a data.table to given precision

Usage

## S3 method for class 'dt'
round(x, digits = 3)

Arguments

x

a 'data.table' like thing

digits

the number of digits to round to

Value

the rounded 'x'


lianos/sparrow.shiny documentation built on Oct. 12, 2023, 2:43 a.m.