monthdays: Number of days in each season

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns number of days in each month or quarter of the observed time period.

Usage

1

Arguments

x

time series

Details

Useful for month length adjustments

Value

Time series

Author(s)

Rob J Hyndman

See Also

bizdays

Examples

1
2
3
4
5
6
par(mfrow=c(2,1))
plot(ldeaths,xlab="Year",ylab="pounds",
    main="Monthly deaths from lung disease (UK)")
ldeaths.adj <- ldeaths/monthdays(ldeaths)*365.25/12
plot(ldeaths.adj,xlab="Year",ylab="pounds",
    main="Adjusted monthly deaths from lung disease (UK)")

pli2016/forecast documentation built on May 25, 2019, 8:22 a.m.