Learn R Programming

lares (version 4.7)

missingness: Calculate and Visualize Missingness

Description

This function lets the user calculate the percentage of NAs or missingness in a data.frame. It also plots the results if needed.

Usage

missingness(df, plot = FALSE, full = FALSE, subtitle = NA,
  summary = TRUE)

Arguments

df

Dataframe. Dataframe to study

plot

Boolean. Do you wish to plot results?

full

Boolean. Return all variables (or only with missings)?

subtitle

Character. Subtitle to show in plot

summary

Boolean. Show numerical summary text?

See Also

Other Exploratory: corr_cross, corr_var, crosstab, df_str, distr, freqs_df, freqs, gain_lift, get_tweets, plot_cats, plot_df, plot_nums, tree_var, trendsRelated