roundDf: Round the numbers of a data.frame

View source: R/ztable2flextable.R

roundDfR Documentation

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


cardiomoon/ztable documentation built on July 27, 2023, 10:25 a.m.