list.NA: Return Na Count and Percentage

Description Usage Arguments Value Examples

View source: R/list.NA.R

Description

Return Na count and percentage for each variable in a dataframe or matrix.

Usage

1

Arguments

x

a numeric vector, a dataframe or matix

Value

A dataframe contains NA variable names, NA count and percentage

Examples

1
2
3
4
5
 jh=data.frame(x=c(1,2,3,1),
     k=c(4,5,6,7),
     h=c('a','a',NA,'D'),
     f=c(1,2,NA,NA))
list.NA(jh)

fastStat documentation built on Jan. 13, 2021, 7:32 a.m.

Related to list.NA in fastStat...