cal.indices.360togreg: Compute indices for 360-days to Gregorian calendar conversion

Description Usage Arguments Value Author(s) Examples

View source: R/cal.indices.360togreg.R

Description

cal.indices.360togreg determines the day-of-year (DOY) indices for each individual year of a 360-days calendar (for a given period) at which to introduce NAs in order to transfer series to a full Gregorian calendar.

Usage

1
cal.indices.360togreg(yearend, outfile = NA)

Arguments

yearend

Last year to consider (implicitly, first year is year 1).

outfile

If provided, the resulting matrix will be written into this RData file (optional).

Value

Matrix (1:yearend,6): indices (columns) for a given 360-days year (row) after which to append NA days.

Author(s)

Sven Kotlarski (MeteoSwiss)

Examples

1
2
3
4
5
6
## Not run: 
# Calculate DOY indices after which to fill in NAs for all years
of the period 1 to 2200. No outfile written.
cal.indices.360togreg(2200)

## End(Not run)

SvenKotlarski/qmCH2018 documentation built on July 14, 2019, 7:39 p.m.