View source: R/str_or_na_replace.R
str_or_na_replace | R Documentation |
This is to augment stri_replace_all_fixed()
, which does
not allow NA
as a pattern.
str_or_na_replace(x, pattern, replacement, fold = FALSE)
x |
character vector |
pattern |
string pattern to search for may be empty string or NA. Comparison is done with "==". Case can be ignored. |
replacement |
string to replace entire entity that has pattern. |
fold |
logical value where if TRUE the vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.