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")

statnmap/arpr documentation built on Dec. 23, 2021, 5:28 a.m.