missing_df: Missing values data frame

View source: R/missing_plot.R

missing_dfR Documentation

Missing values data frame

Description

Create a data frame of missing vs. observed values for all variables provided. Dependent and explanatory are for convenience and are optional.

Usage

missing_df(.data, dependent = NULL, explanatory = NULL)

Arguments

.data

Data frame.

dependent

Character vector. Optional name of dependent variable.

explanatory

Character vector. Optional name(s) of explanatory variables.

Value

Data frame of missing values for all variables.

Examples

colon_s %>%
  missing_df()

finalfit documentation built on Jan. 14, 2023, 5:07 p.m.