imaks: Draws a matrix in the proper orientation, as it it were a...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

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

1
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

1
2
data(demoimage1)
imaks(BE = data$demoimage1, numcol = NULL, LENG = 4, colour = FALSE) 

PatternClass documentation built on March 14, 2020, 1:07 a.m.