findna: findna

Description Usage Arguments Value Examples

View source: R/General.R

Description

Report summary of NA values and their Indices. Iterates over the columns of a data.frame or matrix and returns descriptive summary of NA values

Usage

1
findna(dat)

Arguments

dat

(data.frame, matrix) data.frame, vector or matrix object

Value

(list) object with the following values:

Examples

1
2
3
4
findna(c(1, NA, 2))
dat <- data.frame(y = rnorm(15,0,1),x = {rnorm(15,0,1) + rnorm(15,0,.02)})
dat[sample(1:nrow(dat), size = 3), "x"] <- NA
findna(dat)

yogat3ch/HDA documentation built on Sept. 13, 2019, 8:54 p.m.