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)

textutils documentation built on May 29, 2024, 10:37 a.m.