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


ztable documentation built on June 19, 2026, 5:07 p.m.