Screen data and return details such as variable names, class, levels and
missing values. plot.ds_screener()
creates bar plots to visualize
of missing observations for each variable in a data set.
ds_screener(data)# S3 method for ds_screener
plot(x, ...)
A tibble
or a data.frame
.
An object of class ds_screener
.
Further arguments to be passed to or from methods.
ds_screener()
returns an object of class "ds_screener"
.
An object of class "ds_screener"
is a list containing the
following components:
Number of rows in the data frame.
Number of columns in the data frame.
Names of the variables in the data frame.
Class of the variables in the data frame.
Length of the variables in the data frame.
Number of levels of a factor variable.
Levels of factor variables in the data frame.
Number of missing observations in each variable.
Percent of missing observations in each variable.
Total number of missing observations in the data frame.
Total percent of missing observations in the data frame.
Total number of rows with missing observations in the data frame.
Total number of columns with missing observations in the data frame.
# NOT RUN {
# screen data
ds_screener(mtcarz)
# }
Run the code above in your browser using DataLab