vis_missing: Visualize missing data

Description Usage Arguments Value Author(s) Examples

View source: R/hamr.R

Description

Produces a visualization of all missing values in a data frame. The missing values are encoded by the missing value character, which is NA by default.

Usage

1
vis_missing(df, colour = "default", missing_val_char = NA)

Arguments

df

Input data frame or matrix

colour

Colour scheme for plotting

missing_val_char

the missing value character in the data frame, one of NA, "", " ", "?"

Value

Visualization of the missing data in a data set

Author(s)

Jordan Dubchak, March 2018

Examples

1
vis_missing(data.frame(ex = c(1, 2, 3), bf = c(6, 8, NA)))

UBC-MDS/hamr documentation built on May 25, 2019, 1:36 p.m.