Learn R Programming

redist (version 4.2.0)

plot.redist_classified: Plot a plan classification

Description

Plot a plan classification

Usage

# S3 method for redist_classified
plot(x, plans, shp, type = "fill", which = NULL, ...)

Value

ggplot comparison plot

Arguments

x

a redist_classified object, the output of classify_plans().

plans

a redist_plans object.

shp

a shapefile or redist_map object.

type

either "line" or "fill". Passed on to compare_plans() as plot.

which

indices of the splits to plot. Defaults to all

...

passed on to compare_plans()