prettyIntegers: Compressed formating of an integer vector.

View source: R/prettyIntegers.R

prettyIntegersR Documentation

Compressed formating of an integer vector.

Description

Compressed formating of an integer vector.

Usage

prettyIntegers(x, force = FALSE, collapse = ", ", sep = "...")

Arguments

x

An integer vector.

force

Logical: If TRUE the new string should be returned regardless of whether it has more characters than the original.

collapse

The string to separate numbers by.

sep

The string to separate numbers by when printing ranges.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.