Plot.BioClim | R Documentation |
Use the ggplot2 plotting engine to easily create visualisations of biolcimatic raster data - like the ones obtained using BioClim(...) - and overlay sf polygon data if desired.
Plot.BioClim(
BioClims,
Which = 1:19,
SF,
Water_Var = "Water Availability",
ncol = 3,
Size = 1,
Shape = 1
)
BioClims |
SpatRast object to visualise. |
Which |
Numeric. Which bioclimatic variable(s) to visualise. |
SF |
Optional. SF object which to overlay. |
Water_Var |
Optional, character. Name of water availability variable in the bioclimatic variables. |
ncol |
Number of columns for panel arrangement of plots |
Size |
Optional. Size of SF overlay. |
Shape |
Optional. Shape of SF overlay if points. |
A ggplot2 object visualising a raster.
BioClim
.
BC_rast <- terra::rast(system.file("extdata", "CN_BC.nc", package = "KrigR"))
Plot.BioClim(BioClims = BC_rast, Water_Var = "Soil Moisture (0-7cm)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.