forecast (version 7.2)

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", "Tokyo", "Zurich"))

Arguments

x
Monthly or quarterly time series
FinCenter
Major financial center.

Value

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 DataCamp Workspace