prefix: Prefix a string of text

Description Usage Arguments Value Examples

View source: R/magrittr_extensions.R

Description

Convenience function to use with magrittr wraps paste0(), hence vectorised as paste0()

Usage

1

Arguments

text

goes to the end, rest

...

goes to the front.

Value

Character. Character chain with the prefix added.

Examples

1
2
3
require(magrittr)
"xyz" %>%
  prefix("abc")

arpr documentation built on Aug. 2, 2021, 5:08 p.m.