Skip to contents

This function plots the parameters of an Local Climate Zone map.

Usage

lcz_plot_parameters(
  x,
  iselect = "",
  all = FALSE,
  inclusive = FALSE,
  isave = FALSE,
  ...
)

Arguments

x

The LCZ map in SpatRaster in a stack format.

iselect

Character vector. Specify one or more parameter names to retrieve specific parameters. For example, "SVF2" to get the minimum Sky View Factor, or c("z0", "BSF2") to select multiple parameters.

all

Logical, specifying whether to save all selected parameters into LCZ4r_output. Default is FALSE.

inclusive

Set to TRUE to a colorblind-friendly palette.

isave

Logical, indicating whether to save the plot to your directory. Default is FALSE.

...

An optional modify axis, legend, and plot labels: title, subtitle, and caption.

Value

A plot of the selected LCZ parameters in ggplot2 format

See also

See the documentation for lcz_get_parameters() to obtain LCZ parameters.

Examples

if (FALSE) { # \dontrun{
# Plot the minimum Sky View Factor (SVF1) for your city
lcz_plot_parameters(lcz_map, iselect = "SVF1")

# Plot multiple parameters and save them to the LCZ4r_output directory
lcz_plot_parameters(lcz_map, iselect = c("BSF3", "AH3"))
} # }