paste2 {tidySEM} | R Documentation |
Concatenate Strings while omitting NA
Description
Concatenate vectors after converting to character and removing
NA
values. See paste
.
Usage
paste2(..., sep = " ", collapse = NULL, na.rm = TRUE)
Arguments
... |
one or more R objects, to be converted to character vectors. |
sep |
a character string to separate the terms.
Not |
collapse |
an optional character string to separate the results.
Not |
na.rm |
logical, indicating whether |
Value
A character vector of the concatenated values.
Examples
paste2("word", NA)
[Package tidySEM version 0.2.7 Index]