mindx: Missing index

Description Usage Arguments Value Examples

View source: R/bind_miss.R

Description

Missing index

Usage

1

Arguments

data

a data set with missing values.

drop_empty

a logical value. If TRUE, columns in data without any missing values will be dropped from the output. If FALSE, all column names in data will be present in the output.

Value

a list with indices of missing values in data.

Examples

1
2
3
4
dat <- data.frame(a = c(1, NA), b = c(NA, 2), c = c(1,2))

mindx(dat)
mindx(dat, drop_empty = FALSE)

bcjaeger/midy documentation built on May 3, 2020, 3:55 p.m.