strrep: Backport of strrep for R < 3.3.0

View source: R/strrep.R

strrepR Documentation

Backport of strrep for R < 3.3.0

Description

See the original description in base::strrep.

Usage

strrep(x, times)

Examples

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

bp_strrep("-", 10)

mllg/backports documentation built on Aug. 12, 2024, 12:31 p.m.