miss
.
print.miss(x) summary.miss(x, all.obs = (number of observations < 60) )
miss
object (created by
"miss"
).
TRUE
then missingness patterns for all observations are shown.
By default this is
TRUE
if there are fewer than 60 observations.
x
(invisibly).
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
.
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