Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rep_char

Repeat elements of a character vector times times and collapse it


Description

Repeat elements of a character vector times times and collapse it

Usage

rep_char(char, times)

Arguments

char

A character vector.

times

an integer giving the number of repetitions.

Value

A character vector.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.