prefix {arpr}R Documentation

Prefix a string of text

Description

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

Usage

prefix(text, ...)

Arguments

text

goes to the end, rest

...

goes to the front.

Value

Character. Character chain with the prefix added.

Examples

require(magrittr)
"xyz" %>%
  prefix("abc")


[Package arpr version 0.1.2 Index]