Description Usage Arguments Value Author(s) Examples
View source: R/cal.indices.360togreg.doytoabs.R
cal.indices.360togreg.doytoabs
determines absolute
indices in a full Gregorian calendar (for a given period) at which to
introduce NA days corresponding to day-of-year (DOY) indices for individual
years with a 360-days calendar. Basis: Vector providing the NA DOY indices
for each individual year.
1 | cal.indices.360togreg.doytoabs(infile, yearstart, yearend, outfile = NA)
|
infile |
Rdata-file containing one matrix with DOY positions for each
year to fill in NAs (years = rows 1:2200, days = columns, 1:6); output of
function |
yearstart |
Start year of the desired period. |
yearend |
End year of the desired period. |
outfile |
If provided, the resulting vector will be written into this RData file (optional). |
Vector (positions to fill in NAs): Absolute indices for the period (in Gregorian calendar) at which to fill NA days.
Sven Kotlarski, Iris Feigenwinter (MeteoSwiss)
1 2 3 4 5 6 7 | ## Not run:
# Determine absolute indices to fill in NAs for the period
# 1981 to 2010. Matrix with indices for individual years
# provided by infile. No outfile written.
cal.indices.360togreg.doytoabs(infile,1981,2010)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.