Summarize land cover changes by planning unit
lcc_summary_by_pu.Rd
This function provides a summary of land cover changes for specified planning units. It returns a sankey plot and the top land cover changes.
Arguments
- crosstab_tbl
A data frame containing at least 2 columns of land cover types (could be character, numeric, or factor) and a "Freq" column containing numeric values.
- pu_column
A character string representing the column name of the planning unit in
crosstab_tbl
.- pu_name
A character string representing the name of the planning unit.
- sankey_area_cutoff
A numeric value indicating the minimum area of changes to be displayed in the Sankey plot.
- n_top_lcc
An integer representing the number of top land cover changes to be displayed. Default is 10.