| plotxna {rchemo} | R Documentation | 
Plotting Missing Data in a Matrix
Description
Plot the location of missing data in a matrix.
Usage
plotxna(X, pch = 16, col = "red", grid = FALSE, asp = 0, ...)
Arguments
| X | A data set ( | 
| pch | Type of point. See  | 
| col | A color defining the color of the points. | 
| grid | Logical. If  | 
| asp | Scalar. Giving the aspect ratio y/x. The value  | 
| ... | Other arguments to pass in functions  | 
Value
A plot.
Examples
data(octane)
X <- octane$X
n <- nrow(X)
p <- ncol(X)
N <- n * p
s <- sample(1:N, size = 50)
zX <- replace(X, s, NA)
plotxna(zX)
plotxna(zX, grid = TRUE, asp = 0)
[Package rchemo version 0.1-2 Index]