Learn R Programming

bioclim (version 0.4.0)

biotypeRaster: Bioclimatic classification (raster mode)

Description

Calculates bioclimatic classification based on bioclimatic balance.

Usage

biotypeRaster(
  temp = NULL,
  prec = NULL,
  CC = NULL,
  path = NULL,
  ncpu = 1,
  PET = NULL,
  bh = NULL
)

Value

SpatRaster with 3 variables ("TBR": Types of Bioclimatic Regime; "zonal": zonal units; "sub": bioclimatic regime subtypes).

Arguments

temp

SpatRaster object with 12 layers representing temperature from January to December.

prec

SpatRaster object with 12 layers representing precipitation from January to December.

CC

Field capacity. It can be numeric (1 value) or a SpatRaster object.

path

Optional. Path (folder) where the output raster files and look-up-tables will be saved.

ncpu

number of cores to use in calculation. If not provided, sequential mode is used (1 core).

PET

Potential evapotranspiration. Optional. It must be a SpatRaster object.

bh

Water balance. Optional. It must be a SpatRaster object.

Examples

Run this code
# \donttest{
wb <- terra::rast(wbRast)
btr <- biotypeRaster(bh = wb)
# }

Run the code above in your browser using DataLab