Learn R Programming

bruceR (version 0.7.2)

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

Description

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

Run this code
# NOT RUN {
rep_char("a", 5)

# }

Run the code above in your browser using DataLab