load_paleoclim {rpaleoclim} | R Documentation |
Load data from PaleoClim
Description
Loads a PaleoClim data file (.zip
format) into R as a SpatRaster
.
Usage
load_paleoclim(file, as = c("terra", "raster"))
Arguments
file |
Character. Path to a *.zip file downloaded from PaleoClim. |
as |
Character. |
Value
SpatRaster
object (see terra::rast()
) with each bioclimatic variable
as a separate named layer.
Examples
file <- system.file("testdata", "LH_v1_10m_cropped.zip",
package = "rpaleoclim")
load_paleoclim(file)
[Package rpaleoclim version 1.0.1 Index]