NA.row.sums: Sum of missing value by row

Description Usage Arguments Value Examples

View source: R/NAcount.R

Description

NA is treated as missing value.

Usage

1

Arguments

data

must be dataframe or matrix

Value

sum of missing value by row

Examples

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

do documentation built on July 16, 2021, 9:08 a.m.