monthdays

0th

Percentile

Number of days in each season

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

Keywords
ts
Usage
monthdays(x)
Arguments
x

time series

Details

Useful for month length adjustments

Value

Time series

See Also

bizdays

Aliases
  • monthdays
Examples
# NOT RUN {
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)")

# }
Documentation reproduced from package forecast, version 8.2, License: GPL-3

Community examples

Looks like there are no examples yet.