text_rep: generic repeating text

Description Usage Arguments

View source: R/text_dup.R

Description

generic repeating text

text_rep defaul method

Usage

1
2
3
4
5
6
text_rep(string, times, vectorize = FALSE, ...)

text_dup(string, times, vectorize = FALSE, ...)

## Default S3 method:
text_rep(string, times, vectorize = FALSE, ...)

Arguments

string

text to be repeated

times

how many times shal string be repeated

vectorize

should function be used in vectorized mode, i.e. should a pattern with length larger than 1 be allowed and if so, should it be matched to lines (with recycling if needed) instead of using on element on all lines

...

further arguments passed through


stringb documentation built on Jan. 26, 2021, 1:07 a.m.

Related to text_rep in stringb...