sum.na: SUM MISSINGS

Description Usage Arguments Value Examples

Description

gives the number of the missing values of every column of a dataframe

Usage

1
2
## S3 method for class 'na'
sum(data)

Arguments

data

dataframe for which missings in columns should be summed up

Value

dataframe with the number of missing data for each column

Examples

1
2
(d<-data.frame(x=c(NA,"Hello",NA,"World",NA),y=c(1:5),z=rep(NA,5)))
sum.na(d)

TPeschel/hlpr4life documentation built on May 9, 2019, 2:25 p.m.