formDates: Create date vector for requested time period

Description Usage Arguments Value

View source: R/process.R

Description

This function creates a vector that includes all the dates spanning the requested date range.

Usage

1
formDates(times, bounds)

Arguments

times

A dataframe containing the time data for one ensemble member's projections. Each row in this dataframe corresponds to the row with the same row number in the climate projection dataframe.

bounds

A numeric vector with the desired time boundaries of the ensemble, in terms of indices referring to the first and last row in the climate projection data frame within the requested date range.

Value

A vector of the desired time boundaries, formatted as year-month-day.


futureheatwaves documentation built on May 2, 2019, 9:43 a.m.