This function plots the interpolated LCZ anomaly, LCZ air temperature, or other environmental variables.
Usage
lcz_plot_interp(
x,
palette = "muted",
direction = 1,
ncol = NULL,
nrow = NULL,
isave = FALSE,
save_extension = "png",
...
)
Arguments
- x
The LCZ map in SpatRaster format, either as a single raster or a raster stack, obtained from functions like lcz_anomaly_map() or lcz_interp_map().
- palette
Gradient palettes available in the tidyterra package. Default is "muted". More palettes can be found in the tidyterra documentation: https://dieghernan.github.io/tidyterra/articles/palettes.html#scale_fill_whitebox_
- direction
Sets order of colors. Default palette is 1. If direction is -1, palette color order is reversed
- ncol
Number of columns in the plot.
- nrow
Number of rows in the plot.
- isave
Logical, indicating whether to save the plot to your directory. Default is FALSE.
- save_extension
File format for saving the plot. Options: "png", "jpg", "jpeg", "tif", "pdf", "svg" (default is "png").
- ...
Additional arguments to modify axis, legend, and plot labels, including title, subtitle, and caption.