p: Paste

Description Usage Arguments Value Functions Examples

Description

Wrappers on paste and paste0 to increase the readability of code.

Usage

1
2
3
p(..., sep = " ", collapse = NULL)

p0(..., collapse = NULL)

Arguments

...

one or more R objects, to be converted to character vectors.

sep

a character string to separate the terms. Not NA_character_.

collapse

an optional character string to separate the results. Not NA_character_.

Value

A string of the pasted values.

Functions

Examples

1
2
p("The", "red")
p0("ard", "vark")

err documentation built on May 2, 2019, 3:07 p.m.

Related to p in err...