numerize: Combine several numbers together into a string

View source: R/transforms_text.R

numerizeR Documentation

Combine several numbers together into a string

Description

Combine several numbers together into a string

Usage

numerize(..., sep = "")

Arguments

...

expressions containing numerical values to concatenate

sep

An optional separator to insert between the values in ...

Details

Any number of values can be concatenated. Numerize is meant to work with number-like data, but will only warn if the expressions return non-integer values. The returned values are character representations of (ideally) numbers, but if non-integer values are included they will still appear.

Value

A character vector with the concatenated values in ...

Examples

numerize(as.character(1:10), 11:20, sep=".")
numerize(as.character(1:10), letters[1:10], sep=".")
numerize(as.character(1:10), 11:20/3, sep=".")

qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.