timeSeries (version 4032.109)

finCenter: Get and set Financial center of a 'timeSeries'

Description

Get or assign a financial center to a "timeSeries" object.

Usage

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

getFinCenter(x) setFinCenter(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 and finCenter in package "timeDate"

Examples

Run this code
## An artificial 'timeSeries' Object - 
   tS <- dummyMonthlySeries()
   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