plotShadow: Plot a shadow matrix.

plotShadowR Documentation

Plot a shadow matrix.

Description

plotShadow explores missing values in a matrix by plotting the shadow matrix of the data, in which missing values are coded as black rectangles, and non-missing values are given in light gray.

Usage

plotShadow(x, col = gray.colors(2), 
    transpose = FALSE)

Arguments

x

a matrix

col

color palette

transpose

transpose the matrix?

Author(s)

Tomas Sieger

Examples

x<-matrix(1:36,6)
rownames(x)<-paste('row',1:6)
colnames(x)<-paste('column',1:6)
x[2,3:5]<-NA
x[6,6]<-NA
x
plotShadow(x)

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.