Description Usage Arguments Examples
Sets NA grid values of z to selected replacement colour..
1 2 3 |
x |
same as image |
y |
same as image |
z |
same as image |
zlim |
same as image |
xlim |
same as image |
ylim |
same as image |
col |
A colour to be used for NA entries. Preferably a grey tone with intensity matching the average signsal here~~ |
add |
same as image |
... |
Passed to image |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x = seq(0, 1, length.out = nrow(z)), y = seq(0, 1,
length.out = ncol(z)), z, zlim = range(z[is.finite(z)]),
xlim = range(x), ylim = range(y), col = "#80808080", add = TRUE,
...)
{
z <- ifelse(is.na(e[[k]]), 1, NA)
image(x, y, z, zlim, xlim, ylim, col, add, ...)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.