num_formatter: Number formatter Rounds all numeric columns to 2 decimal...

Description Usage Arguments Value

View source: R/commafy.R

Description

Number formatter Rounds all numeric columns to 2 decimal places

Usage

1
num_formatter(df, round_dig = 2, arrange_col = NULL)

Arguments

df

Dataframe to round numeric columns in

round_dig

Number of digits to round numeric columns to

arrange_col

Column to arrange data by

Value

Dataframe with numeric columns rounded, arranged by numeric column if identified


dpowerstp/tpfuncts documentation built on Dec. 20, 2021, 1:12 a.m.