imaks {ShapePattern} | R Documentation |
Draws a matrix in the proper orientation, as it it were a raster landscape.
Description
A simple drawing function for matrices that are actually representing raster landcape maps. This function also controls the use of colour for nominal maps. This is a generic function for drawing any raster image that should not be drawn as a matrix (where the origin is not at the lower-left corner, but rather the upper-left corner. This function draws a matrix as a map using the proper positioning of the origin and gridded values.
Usage
imaks(BE = data$demoimage1, numcol = NULL, LENG = 4, colour = FALSE)
Arguments
BE |
The input landscape map as a matrix object. |
numcol |
A numeric value indicating the number of total colours on the map. |
LENG |
An argument that is depreciating. Do not adjust this value. |
colour |
Should a special colour scheme be applied (TRUE) or not (FALSE) |
Details
In a future release, this function may become obsolete as we migrate to using the raster library and raster objects.
Value
The result is a graphic plot of a raster landscape as read from a matrix representation.
Note
This function was originally released in the package: hdeco
Author(s)
Sandor Kabos (modified by Tarmo K. Remmel)
References
No references currently.
See Also
Currently none.
Examples
data(demoimage1)
imaks(BE = data$demoimage1, numcol = NULL, LENG = 4, colour = FALSE)