plot.naBlocks {shapeNA}R Documentation

Plot Missingness Pattern of Data

Description

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

Usage

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

Arguments

x

A naBlocks object.

...

Additional parameters passed on to rect.

Value

No return value.

Examples

    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)

[Package shapeNA version 0.0.2 Index]