spaces: Create Vectors of White Space

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/functions.R

Description

Create character vectors of white space.

Usage

1
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

1
spaces(0:3)

textutils documentation built on April 1, 2021, 9:07 a.m.