strrep: Backport of strrep for R < 3.3.0

Description Usage Examples

View source: R/strrep.R

Description

See the original description in base::strrep.

Usage

1
strrep(x, times)

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_strrep = getFromNamespace("strrep", "backports")

bp_strrep("-", 10)

backports documentation built on Dec. 13, 2021, 5:08 p.m.