forecast (version 8.22.0)

bizdays: Number of trading days in each season

Description

Returns number of trading days in each month or quarter of the observed time period in a major financial center.

Usage

bizdays(x, FinCenter = c("New York", "London", "NERC", "Toronto", "Zurich"))

Value

Time series

Arguments

x

Monthly or quarterly time series

FinCenter

Major financial center.

Author

Earo Wang

Details

Useful for trading days length adjustments. More on how to define "business days", please refer to isBizday.

See Also

monthdays

Examples

Run this code

x <- ts(rnorm(30), start = c(2013, 2), frequency = 12)
bizdays(x, FinCenter = "New York")

Run the code above in your browser using DataLab