Print information about missing value patterns.

DESCRIPTION:

Print and summary methods for objects of class miss.

USAGE:

print.miss(x) 
summary.miss(x, all.obs = (number of observations < 60) ) 

REQUIRED ARGUMENTS:

x
a miss object (created by "miss").

OPTIONAL ARGUMENTS:

all.obs
if TRUE then missingness patterns for all observations are shown. By default this is TRUE if there are fewer than 60 observations.

VALUE:

x (invisibly).

SIDE EFFECTS:

Prints information about missing values.

DETAILS:

print gives
* overall summary information,
summary also gives:
* number of missing observations by variable,
* patterns of missing values (unique patterns only)
* how many and which observations match each pattern, and
* missingness values for all observations, in their original order.
The last section is printed only if all.obs is TRUE .

SEE ALSO:

, , .

EXAMPLES:

y <- longley.x; y[runif(96) > .9] <- NA  # random missing data 
M <- miss(y) 
M                      # equivalent to print(M) or print.miss(M) 
summary(M)             # equivalent to summary.miss(M) 
print.default(M)       # print all components, no special format 
summary(M, all.obs = F)    # omit last part of printout