Learn R Programming

arpr (version 0.1.2)

prefix: 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

Run this code
# NOT RUN {
require(magrittr)
"xyz" %>%
  prefix("abc")

# }

Run the code above in your browser using DataLab