repChar: Repeat Character in String

Description Usage Arguments Value Examples

View source: R/helper_functions.R

Description

repChar repeats a character for a single value.

Usage

1
repChar(x, n, nl = FALSE)

Arguments

x

characters to repeats

n

number of times to repeat

nl

logical determining whether a newline should be added

Value

character of length nchar(x)*n

Examples

1
repChar('=', 10)

cmann3/recon documentation built on May 13, 2019, 8:23 p.m.