calc_timeSlices: Calculate historical and future simulation time slices

Description Usage Arguments Value

View source: R/ExtractData_ClimateDownscaling.R

Description

Calculate historical and future simulation time slices

Usage

1
calc_timeSlices(sim_time, tbox)

Arguments

sim_time

A list with elements future_N, future_yrs, DScur_startyr, and DScur_endyr.

tbox

A data.frame or matrix with two rows start and end and two columns first and second describing years including in a specific climate data source.

Value

A data.frame with rows for each extraction run-slice and four columns 'Run', 'Slice', 'Time', and 'Year'.


DrylandEcology/rSFSW2 documentation built on Aug. 18, 2020, 1:27 p.m.