View source: R/janitor_deprecated.R
convert_to_NA | R Documentation |
NA
values.Converts instances of user-specified strings into NA
. Can operate on either a single vector or an entire data.frame.
convert_to_NA(dat, strings)
dat |
vector or data.frame to operate on. |
strings |
character vector of strings to convert. |
Returns a cleaned object. Can be a vector, data.frame, or tibble::tbl_df
depending on the provided input.
Deprecated, do not use in new code. Use dplyr::na_if()
instead.
janitor_deprecated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.