format_data_frame_percentage: Format data.frame with Percentages

Description Usage Arguments Value

View source: R/format_data_frame_percentage.R

Description

Will format all numbers in a data.frame as percentage. And replace NA with string specified in *na.string* parameter.

Usage

1
format_data_frame_percentage(df, na.string = "", digits = 2)

Arguments

df

the data.frame to format

na.string

what to replace NA's with

digits

number of digits to round to

Value

a formatted data.frame


dietrichson/sashaUseful documentation built on Sept. 16, 2019, 3:31 p.m.