plot_missing: Create a missing value plot in the style of...

View source: R/plot_missing.R

plot_missingR Documentation

Create a missing value plot in the style of extracat::visna() (no longer available on CRAN)

Description

Create a missing value plot in the style of extracat::visna() (no longer available on CRAN)

Usage

plot_missing(
  x,
  percent = TRUE,
  num_char = 100,
  max_rows = NULL,
  max_cols = NULL
)

Arguments

x

data.frame or object that can be coerced to one

percent

logical if TRUE, % of rows and columns are shown, if FALSE, actual numbers of rows and columns are shown (defaults to TRUE)

num_char

numeric number of characters per column name (to prevent overlapping labels), uses base R abbreviate() to shorten. Note that this value will not be adhered to if doing so creates duplicate column names.

max_rows

numeric maximum number of rows (missing patterns) to display

max_cols

numeric maxium number of columns to display


jtr13/redav documentation built on March 31, 2024, 11:56 a.m.