p0: Paste0

View source: R/p0.R

p0R Documentation

Paste0

Description

A shorthand for the function paste0 Concatenate vectors after converting to character.

Usage

p0(..., collapse = NULL, recycle0 = FALSE)

Arguments

...

one or more R objects, to be converted to character vectors. This is the same argument that would be used in the paste0 function.

collapse

an optional character string to separate the results. Not NA_character_. This is the same argument that would be used in the paste0 function.

recycle0

logical indicating if zero-length character arguments should lead to the zero-length character(0) after the sep-phase (which turns into "" in the collapse-phase, i.e., when collapse is not NULL). This is the same argument that would be used in the paste0 function.

Examples

paste0("a", "b")
p0("a", "b")

kim documentation built on Oct. 9, 2023, 5:08 p.m.

Related to p0 in kim...