Learn R Programming

epade (version 0.2.2)

missiogram.ade: Missing Value Plot

Description

Overview of missing values in a data.frame

Usage

missiogram.ade(vars=NULL, vnames=NULL, data=NULL, ints=50, nvars=50,
               xlab="ID", ylab="Variables", main="Missing Value Plot",
               ylab2="N. Missings", col=NULL, tcol=NULL, bgcol=NULL, wall=0)

Arguments

Details

One, two or three points indicate respectively number of missing values in this section. More then 3 missing values will be shown with a semi-transparency surface over the section. No semi-transparency means, all the values are missing in this section.

Examples

Run this code
data<-rnorm(1000)
data<-as.data.frame(data)
for(i in 1:20){
eval(parse(text=paste("data$var_", i, "<- rnorm(1000)", sep='')))
eval(parse(text=paste("data$var_", i,
"[round(runif(round(runif(1, 1, 100)), 1, 1000))]<-NA", sep='')))
}
missiogram.ade(data=data)

Run the code above in your browser using DataLab