Learn R Programming

pander (version 0.6.5)

repChar: Repeating chars

Description

Repeating a string n times and returning a concatenated character vector.

Usage

repChar(x, n, sep = "")

Arguments

x

string to repeat

n

integer

sep

separator between repetitions

Value

character vector