timeSeries (version 3022.101.2)

finCenter: Get and Set Financial Center of a 'timeSeries'

Description

Print or assign new financial center to a 'timeSeries' object.

Usage

getFinCenter(x) setFinCenter(x) <- value
"finCenter"(x) "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

Run this code
## An artificial timeSeries Object - 
   tS <- dummySeries()
   tS

## Print Financial Center -
   finCenter(tS)
   getFinCenter(tS)

## Assign New Financial Center - 
   finCenter(tS) <- "Zurich"
   tS
   setFinCenter(tS) <- "New_York"
   tS

Run the code above in your browser using DataLab