View source: R/Equitable_Transform.R
imagenan | R Documentation |
Displays a false colour image of two dimensional data set
imagenan( x, yline = 3, yma = 5, topyma = 4, xline = 3, xma = 6, lnumr = 10, lnumc = 10, lasval = 1, cex.axis = 0.7, cex.lab = 0.7, cex.main = 0.7, widths = c(5, 1.25), heights = c(1, 0.5), col = topo.colors(255), outside.below.color = "black", outside.above.color = "white", na.color = "grey28", ... )
x |
2D data to display |
yline |
Number of lines in (left side) to where image begins |
yma |
Number of characters in (left side) |
col |
colour table |
outside.below.color |
Colour below threshold |
outside.above.color |
Colour above threshold |
na.color |
Colour of NAs (see |
... |
other plot parameters eg zlim list with min and max range of color table data e.g. zlim=c(2,5) |
None
d<-eg4() imagenan(d) imagenan(d,zlim=c(2,8)) imagenan(d,zlim=c(3,8),outside.above.color='red',outside.below.color='tan') d=data.frame(cbind(c(1:4),c(2,5,NA,NA) )) imagenan(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.