Learn R Programming

sgsR (version 1.5.0)

plot: Plot

Description

Plot

Class Plot

Scatter Plot

Usage

classPlot(dfc, coordsgrps, mraster, mraster2, samp = 0.01)

plot_scatter(mraster, existing, reverse = FALSE, samp = 0.01)

Value

Scatter plot of available raster cells coloured and delineated by stratum.

Arguments

dfc

data.frame. Values for mraster and mraster2

coordsgrps

List. Cartesian coordinates of each strata

mraster

Spatraster. Raster to stratify. Layers in mraster must match the number of breaks vectors provided.

samp

Numeric. Determines proportion of cells to plot

existing

sf 'POINT'. Existing plot network.

reverse

Logical. Reverse x and y axis