NA.row.prob: Proportion of missing value by row

View source: R/NAcount.R

NA.row.probR Documentation

Proportion of missing value by row

Description

NA is treated as missing value.

Usage

NA.row.prob(data)

Arguments

data

must be dataframe or matrix

Value

proportion of missing value by row

Examples

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

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