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 April 2, 2024, 11:12 a.m.