View source: R/set_negative_values_to_na.R
negative_values_to_na | R Documentation |
Allows for the user to define any numeric variables they would like to change to NA if the value of that variable is less than 0
negative_values_to_na(.data, ...)
.data |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). |
... |
any numeric variables where negative values should be set to NA |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.