A vector of daily anomalies of the same length as parameter
data.
Arguments
data
A vector of daily data.
jdays
A vector of the corresponding day of the year. This vector must
be the same length as parameter data.
dates
If jdays is not supplied, a vector of dates corresponding
to the observations in data with defined calendar attributes.
calendar
A character indicating the calendar type.
na.rm
A logical indicating whether missing values should be removed. If
na.rm is FALSE an NA value in any of the arguments will cause a value
of NA to be returned, otherwise (TRUE by default) NA values are ignored.