NA.col.sums: Sum of missing value by column

View source: R/NAcount.R

NA.col.sumsR Documentation

Sum of missing value by column

Description

NA is treated as missing value.

Usage

NA.col.sums(data)

Arguments

data

must be dataframe or matrix

Value

sum of missing value by column

Examples

df = data.frame(x=rep(c(1,NA,2,NA,6,NA),10),
                 y=rep(c(1,NA,2),20))
NA.col.sums(df)

do documentation built on Sept. 12, 2024, 6:27 a.m.