fw: Fixed width strings

Description Usage Arguments Examples

Description

Adjust the length of a character string by by adding spaces to the end if too short, or by cutting from the end if too long.

Usage

1
fw(string = "12345678910", n = 10)

Arguments

string

Text to adjust. Use a list or vector for multipe text strings.

n

Number of characters for string. If negative, string will be shortened by n characters.

Examples

1
fw(c("2short", "cutThisString"), n = 10)

dKvale/receptors documentation built on May 14, 2019, 3:06 p.m.