View source: R/paste_missing.R
paste_missing | R Documentation |
Concatenate strings dropping missing values
paste_missing(
...,
sep = " ",
collapse = NULL,
missing_values = NA,
paste_last = FALSE
)
..., sep, collapse |
See |
missing_values |
Values considered missing to be ignored in pasting. |
paste_last |
When all |
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()
).
A character vector of pasted values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.