SpatRaster image method
## S4 method for signature 'SpatRaster' image(x, y=1, maxcell=50000, ...)
x |
SpatRaster |
y |
positive integer indicating the layer to be plotted, or a character indicating the name of the layer |
maxcell |
positive integer. Maximum number of cells to use for the plot |
... |
additional arguments as for |
f <- system.file("ex/elev.tif", package="terra") r <- rast(f) image(r) image(r, col=rainbow(24))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.