roundDf: Convert numeric columns of data.frame to character

View source: R/df2flextable.R

roundDfR Documentation

Convert numeric columns of data.frame to character

Description

Convert numeric columns of data.frame to character

Usage

roundDf(df, digits = 2)

Arguments

df

A data.frame

digits

integer indicating the number of decimal places

Examples

roundDf(iris,digits=c(1,2,3,4))
roundDf(mtcars,digits=2)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.