paleocar: Fit PaleoCAR models to a RasterBrick of predictands, and...

View source: R/paleocar.R

paleocarR Documentation

Fit PaleoCAR models to a RasterBrick of predictands, and generate prediction and uncertainty RasterBricks.

Description

This is a wrapper function to the four primary methods in the PaleoCAR package, specifically for processing predictands held in a RasterBrick.

Usage

paleocar(
  chronologies,
  predictands,
  calibration.years,
  prediction.years = NULL,
  label,
  out.dir = "./OUTPUT/",
  force.redo = F,
  verbose = F,
  ...
)

Arguments

chronologies

An ITRDB object, as in from FedData::get_itrdb.

predictands

A RasterBrick or RasterStack of the numeric predictand (response) variable.

calibration.years

An integer vector of years corresponding to the layers in the predictands brick.

prediction.years

An optional integer vector of years for the reconstruction. If missing, defaults to the total years present in chronologies.

label

A character label for the reconstruction, for saving.

out.dir

The directory to which output is to be saved.

force.redo

Logical, should all computations be re-computed?

verbose

Logical, display status messages during run.

...

Further arguments to be passed to other functions.

Value

A named list containing

  • models The PaleoCAR models, as computed by paleocar_models.

  • predictions The PaleoCAR reconstruction, as computed by predict_paleocar_models.


bocinsky/PaleoCAR documentation built on Feb. 23, 2023, 12:14 p.m.