roundDf: Convert numeric columns of data.frame to character

Description Usage Arguments Examples

View source: R/df2flextable.R

Description

Convert numeric columns of data.frame to character

Usage

1
roundDf(df, digits = 2)

Arguments

df

A data.frame

digits

integer indicating the number of decimal places

Examples

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

rrtable documentation built on April 2, 2020, 5:09 p.m.