freq.na | R Documentation |
Generate a frequency table of missing values as raw counts and percentages.
freq.na(data, ...)
data |
either a vector or a data frame object |
... |
if |
The result is an object of class data.frame.
table
, is.na
data(hdv2003) ## Examine a single vector. freq.na(hdv2003$qualif) ## Examine a data frame. freq.na(hdv2003) ## Examine several variables. freq.na(hdv2003, "nivetud", "trav.satisf") ## To see only variables with the most number of missing values head(freq.na(hdv2003))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.