odd_val_col | R Documentation |
Checking Columns for NA, Negative or Other (Odd) Values and Returning an easy to inspect dataframe with meaningful reference columns that don't have NAs
odd_val_col(df, refCols = c(1, 2), oddValues = "NAs", verbose = TRUE)
df |
Dataframe in which to check for odd values. |
refCols |
The columns that will be presented in the output. Passed to a
If |
oddValues |
The type of odd values with three options. The default
|
verbose |
Whether to print messages to the console. |
df_type |
as |
The states
argument calls exclude_states
A tibble with the rows where the odd values where found.
x <- na_if(mtcars, 0) odd_val_col(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.