p0 {kim}R 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")

[Package kim version 0.5.422 Index]