spaces {textutils}R 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)

[Package textutils version 0.4-1 Index]