Skip to contents

Repeat a character string for many times and paste them up.

Usage

rep_char(char, rep.times)

Arguments

char

Character string.

rep.times

Times for repeat.

Value

Character string.

Examples

rep_char("a", 5)
#> [1] "aaaaa"