plot_all: Visualize the distribution of all variables in the dataset
Description
This function plots a grid of histograms (for continuous variables) and barplots (for
categorical variables) and labels it with the proportion of missing values in
each variable.
optional number of rows and columns in the plot layout;
automatically chosen if unspecified
ncol
optional number of rows and columns in the plot layout;
automatically chosen if unspecified
fill
color the histograms and bars are filled with
border
color of the borders of the histograms and bars
allNA
logical; if FALSE (default) the proportion of missing
values is only given for variables that have missing values,
if TRUE it is given for all variables
use_level
logical; should the multi-level structure be taken into account?
This requires specification of the argument idvar.
idvar
name of the column that specifies the multi-level grouping structure