finCenter {timeSeries}R Documentation

Financial Center of to a timeSeries

Description

Print or assign new financial center to a timeSeries object.

Usage

## S4 method for signature 'timeSeries':
finCenter(x)
## S4 method for signature 'timeSeries':
finCenter(x) <- value

Arguments

x a timeSeries object.
value a character with the the location of the financial center named as "continent/city".

See Also

listFinCenter

Examples

# A timeSeries object
data <- matrix(rnorm(24), ncol = 2)
charvec <- as.character(timeCalendar())
ts <- timeSeries(data, charvec, FinCenter = "NewYork")
ts

# print financial center
finCenter(ts)

# assign new financial center
finCenter(ts) <- "Zurich"
ts

[Package timeSeries version 290.79 Index]