get_reconstruction_matrix: Get a matrix of predictors for a reconstruction

View source: R/get_reconstruction_matrix.R

get_reconstruction_matrixR Documentation

Get a matrix of predictors for a reconstruction

Description

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

Usage

get_reconstruction_matrix(
  chronologies,
  reconstruction.years = NULL,
  min.width = NULL
)

Arguments

chronologies

A matrix of predictors to be subset. Columns are predictors, rows are years.

reconstruction.years

A vector of years to be reconstructed. If missing, will use all years in chronologies.

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 reconstruction.


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