50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

bruceR (version 0.6.0)

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