Truncate climate and tree data either to common shared interval (default) or to specified range of years. Depending on minmonth, the climate data will need to start one year earlier than the tree data, if data from the previous year should be used.
truncate_input(
chrono,
climate,
timespan = NULL,
minmonth,
dynamic,
silent = FALSE
)
a tree-ring chronology
the climate data as returned by as_tcclimate
the timespan for truncating as vector with min and max year
the earliest month used for the calibration, as returned by check_months
moving or not? (logical)
a list of truncated data.frames for climate and tree data