powered by
Quick indication of the amount and location of missing values.
na_status( x, show_only_missing = TRUE, sort_columns = show_only_missing, show_message = TRUE, ... )
an R object caryying data (e.g. data.frame)
data.frame
if TRUE only columns with NA's will be printed.
TRUE
NA
If TRUE the columns are sorted descending by the number of missing values.
if TRUE message will be printed.
arguments to be passed to other methods.
data.frame with the column and number of NA's
glimpse_na
# NOT RUN { irisNA <- iris irisNA[1:3,1] <- irisNA[3:7,2] <- NA na_status(irisNA) # impute a constant a <- impute_const(irisNA, Sepal.Width ~ 7) na_status(a) # }
Run the code above in your browser using DataLab