plot.rd_ras | R Documentation |
Plot method for rd_ras object
## S3 method for class 'rd_ras'
plot(x, n = NULL, col, verbose = TRUE, nrow, ncol, ...)
x |
rd_ras object with randomized raster. |
n |
Integer with number or vector of ids of randomized raster to plot. See Details section for more information. |
col |
Vector with color palette used for plotting. |
verbose |
Logical if messages are printed. |
nrow , ncol |
Integer with number of rows and columns of plot grid. |
... |
Not used. |
Function to plot randomized raster. If n
is a single number, n
randomized
raster will be sampled to plot. If n
is a vector, the corresponding raster
will be plotted. col, nrow, ncol
are passed to plot
.
void
randomize_raster
,
translate_raster
## Not run:
landscape_classified <- classify_habitats(terra::rast(landscape), n = 5, style = "fisher")
landscape_random <- randomize_raster(landscape_classified, n_random = 19)
plot(landscape_random)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.