round_to: Round values to integers

Description Usage Arguments Examples

Description

This function rounds values of a numeric vector to a selected integer, for example: 1,000 or 10,000. This allows for a more general interpretation of high values.

Usage

1
round_to(x, to = 1000)

Arguments

x

A vector or data frame column

to

An integer to round to. Defaults to a 1,000

Examples

1
round_to(12456)

konradsemsch/aider documentation built on May 22, 2019, 2:40 p.m.