concat_nums: Concatenate numbers together

View source: R/number_tools.R

concat_numsR Documentation

Concatenate numbers together

Description

Paste a set of numbers side-by-side. Useful for manually building ID numbers from fields. Missing values are replaced with 0.

Usage

concat_nums(...)

Arguments

...

Numbers, or strings that can be coerced to numbers.

Value

A double.

Authors

Examples

concat_nums(12, "76", NA, 1.5)

#> [1] 127601.5


DesiQuintans/desiderata documentation built on April 9, 2023, 5:43 a.m.