Skip to contents

Holds monthly climate data for one or more pixels (a raster block) and exposes S4 methods for computing each of the 19 standard bioclimatic variables as well as the full batch computation. Each slot is a numeric matrix with 12 columns (one per calendar month) and one row per pixel; single-pixel inputs (plain numeric vectors of length 12) are automatically promoted to 1-row matrices by the constructor.

The S4 methods delegate to the compiled C++ routines exported by the package (e.g. bio01_cpp, bioclim_cpp), mirroring the xbioclim convention for all 19 variables.

Value

An S4 object of class BioclimData holding four numeric matrices (tas, tasmax, tasmin, pr), each with 12 columns (one per calendar month) and one row per pixel.

Slots

tas

Numeric matrix (pixels × 12): monthly mean temperature.

tasmax

Numeric matrix (pixels × 12): monthly maximum temperature.

tasmin

Numeric matrix (pixels × 12): monthly minimum temperature.

pr

Numeric matrix (pixels × 12): monthly precipitation.