spaces: Create Vectors of White Space

View source: R/functions.R

spacesR Documentation

Create Vectors of White Space

Description

Create character vectors of white space.

Usage

spaces(n)

Arguments

n

integer

Details

The function creates a character vector of white-space strings. Such vectors are useful, for instance, for padding character vectors.

Value

character

Author(s)

Enrico Schumann

See Also

strexp

Examples

spaces(0:3)

enricoschumann/textutils documentation built on Jan. 26, 2025, 10:10 p.m.