roundDf: Round the numbers of a data.frame

Description Usage Arguments Value

View source: R/ztable2flextable.R

Description

Round the numbers of a data.frame

Usage

1
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 Sept. 28, 2021, 9:07 a.m.