Concatenate strings dropping missing values
paste_missing.RdConcatenate strings dropping missing values
Arguments
- ..., sep, collapse
See
?paste- missing_values
Values considered missing to be ignored in pasting.
- paste_last
When all
...arguments have been combined and only one remains, shouldpastebe called on that last argument? (Ignored ifcollapseis notNULL.)
Details
If all values are missing, the value from the first argument is
preserved. paste_last affects the final output; the main difference
is that if FALSE, NA_character_ values will be preserved, and
if TRUE, NA_character_ values will be converted to "NA" (as
is the case with paste()).