Description Usage Arguments Value Examples
Function to visualize the shape matrix from objects of class shapeNA
by
plotting a heatmap where light colored cells indicate small values and dark
colored cells indicate high values.
1 2 |
x |
A |
message |
A logical, If |
... |
Additional parameters passed to |
A matrix with the proportion of observed values for each variable.
1 2 3 4 5 6 7 8 | x <- mvtnorm::rmvt(100, toeplitz(seq(1, 0.1, length.out = 3)), df = 5)
y <- mice::ampute(x, mech='MCAR')$amp
res <- tylerShapeNA(y)
## default plot
plot(res)
## plot result in gray scale - reverse order to get a palette starting
## with the lightest instead of the darkest color
plot(res, col = gray.colors(9, rev = TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.