Skip to contents

Plot

Class Plot

Scatter Plot

Usage

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

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

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

Value

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

Note

Population in viridis and samples in red.