monthAccessories {fda} | R Documentation |
Numeric and character vectors to facilitate working with dates
Description
Numeric and character vectors to simplify functional data computations
and plotting involving dates.
Format
dayOfYeara numeric vector = 1:365
day.5 a numeric vector = dayOfYear-0.5 = 0.5, 1.5, ..., 364.5
daysPerMontha numeric vector of the days in each month (ignoring leap years)
with names = month.abb
monthEnda numeric vector of cumsum(daysPerMonth) with names = month.abb
monthEnd.5a numeric vector of the middle of the last day of each month with
names = month.abb = c(Jan=30.5, Feb=58.5, ..., Dec=364.5)
monthBegin.5a numeric vector of the middle of the first day of each month with
names - month.abb = c(Jan=0.5, Feb=31.5, ..., Dec=334.5)
monthMida numeric vector of the middle of the month = (monthBegin.5 +
monthEnd.5)/2
monthLettersA character vector of c("j", "FALSE", "m", "A", "M", "J", "J", "A", "S",
"O", "N", "D"), with 'month.abb' as the names.
weeksa numeric vector of length 53 marking 52 periods of approximately 7
days each throughout the year = c(0, 365/52, ..., 365)
Details
Miscellaneous vectors often used in 'fda' scripts.
Source
Ramsay, James O., and Silverman, Bernard W. (2006), Functional
Data Analysis, 2nd ed., Springer, New York, pp. 5, 47-53.
See Also
month.abb
Examples
[Package
fda version 1.2.2
Index]