plot.naBlocks: Plot Missingness Pattern of Data

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Function to visualize the missingness patterns for objects of class naBlocks.

Usage

1
2
## S3 method for class 'naBlocks'
plot(x, ...)

Arguments

x

A naBlocks object.

...

Additional parameters passed on to rect.

Value

No return value.

Examples

1
2
3
4
    x <- mvtnorm::rmvt(100, toeplitz(seq(1, 0.1, length.out = 3)), df = 5)
    y <- mice::ampute(x, mech='MCAR')$amp
    res <- classicShapeNA(y)
    plot(res$naBlocks)

shapeNA documentation built on March 15, 2021, 5:06 p.m.