Prepare region-level data for interactive class distribution plot
prepare_regions_data_for_plot.RdThis function processes the network data at the region level, preparing it for plotting the class distribution for specific regions. It filters data, calculates shares, and renames region scales based on the provided region names.
Usage
prepare_regions_data_for_plot(
data,
classification_type = "classes",
manual_classes_table = NULL,
region_id = NULL,
region_strahler = 0,
region_names = NULL
)