get_predictor_matrix: Get a matrix of predictors for a calibration

View source: R/get_predictor_matrix.R

get_predictor_matrixR Documentation

Get a matrix of predictors for a calibration

Description

This subsets a chronologies matrix to a set of calibration years.

Usage

get_predictor_matrix(chronologies, calibration.years, min.width = NULL)

Arguments

chronologies

A matrix of predictors to be subset. Should be output from FedData::get_itrdb(). Columns are predictors, rows are years.

calibration.years

A vector of years to be used for calibration

min.width

integer, indicating the minimum number of tree-ring samples allowed for that year of a chronology to be valid.

Value

A matrix of predictors for a calibration


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