paste0: Concatenate strings

Description Usage Arguments Details Value Author(s)

Description

Concatenate vectors after converting to character.

Usage

1
paste0(..., collapse = NULL)

Arguments

collapse

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

...

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

Details

R 2.15 (maybe R 2.14) introduced the very useful paste0. This allows some of my legacy code to use paste0 in R < 2.15

Value

A character vector of the concatenated values. This will be of length zero if all the objects are, unless collapse is non-NULL in which case it is a single empty string.

Author(s)

Mark Cowley, 2012-10-19


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.