Learn R Programming

div (version 0.3.1)

div_round_paygap: Rounds all numbers in the paygap data-frame

Description

This function all numbers to zero decimals, except the paygap (which is rounded to 2 decimals):

Usage

div_round_paygap(x)

Arguments

x

paygap object (output of div::div_paygap())

Value

the paygap data-frame (tibble only, not the whole paygap object)

Examples

Run this code
# NOT RUN {
d <- div_fake_team()
pg <- div_paygap(d)
div_round_paygap(pg)
# }

Run the code above in your browser using DataLab