Learn R Programming

Tmisc (version 0.1.22)

propmiss: Missing stats

Description

Returns the number of missing values, total length, and proportion missing values for each variable in a data.frame

Usage

propmiss(df)

Arguments

df

A data.frame.

Value

A data.frame with missingness stats.

Examples

Run this code
# NOT RUN {
propmiss(data.frame(a=1:5, b=c(6,NA,NA,9,10)))

# }

Run the code above in your browser using DataLab