Learn R Programming

ztable (version 0.2.3)

roundDf: Round the numbers of a data.frame

Description

Round the numbers of a data.frame

Usage

roundDf(df, digits = 2)

Arguments

df

A data.frame

digits

A vector of integer indicating the number of decimal places

Value

a rounded data.frame