plot_missings: Positions and number of missings within a dataset

View source: R/plot_missings.R

plot_missingsR Documentation

Positions and number of missings within a dataset

Description

This function plots the position of missings within a given dataset and print the variables with the number of missings in an ordered way.

Usage

plot_missings(d, print_res = TRUE, decreasing = TRUE)

Arguments

d

Data frame.

print_res

Controls whether the column names and counted missings should be printed at the console.

decreasing

If TRUE, the variable names will be shown at the console in a decreasing way. In the same order as in the data frame otherwise.

Value

Returns a list of length two - plot and data frame ordered by correlations.

Author(s)

Dennis Freuer


freuerde/puzzle documentation built on March 27, 2022, 5:30 p.m.