Learn R Programming

climdex.pcic (version 0.1-3)

climdexInput: climdexInput

Description

The climdexInput class contains all the data necessary to compute the climdex indices.

Arguments

Details

The climdexInput class consists of all the data necessary to compute the climdex indices. Users will not need to modify any of the slots in this class. That being said, users may want or need to repurpose this data for further analysis. The following description of the data is aimed at that audience. The tmax, tmin, tavg, and prec slots are time series of daily data of equal length and without any missing days, with NAs in place of data where no data was present. The dates slot is the corresponding series of dates (of type PCICt) for the daily data. To ease computation of monthly and annual data, monthly.factor and annual.factor are slots in the data structure. They are also of the same length as the time series. These can be reused for computation of any annual or monthly aggregates. The base.range slot contains vector of type PCICt containing the first and last day included in the baseline. The pctile slot contains the 95th and 99th percentile values for the precipitation percentiles, computed on the base period. The running.pctile.notbase slot contains the data necessary for computing temperature based percentiles outside of the base period. This consists of one percentile for each day of the year, computed using an n-day (default is 5-day) running window surrounding that day. These percentiles are computed for both the 10th and 90th percentile for daily maximum and minimum temperature. The running.pctile.base slot contains the data necessary for computing temperature based percentiles inside the base period. As this is a somewhat unpleasant operation, so are the data requirements. Given n years of data to use as the base period, there are n * (n - 1) sets of daily quantiles of the same type as those for running.pctile.notbase.

See Also

climdexInput.csv, climdexInput.raw.