plot.rd_ras: plot.rd_ras

Description Usage Arguments Details Value See Also Examples

View source: R/plot.rd_ras.R

Description

Plot method for rd_ras object

Usage

1
2
## S3 method for class 'rd_ras'
plot(x, n = NULL, col, verbose = TRUE, nrow, ncol, ...)

Arguments

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.

Details

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.

Value

void

See Also

randomize_raster
translate_raster

Examples

1
2
3
4
5
6
## Not run: 
landscape_classified <- classify_habitats(landscape, classes = 5)
landscape_random <- randomize_raster(landscape_classified, n_random = 19)
plot(landscape_random)

## End(Not run)

shar documentation built on Jan. 4, 2022, 5:08 p.m.