Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

timeSeries-slotFinCenter

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

## S4 method for signature 'timeSeries'
finCenter(x)
## S4 replacement 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

## 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

timeSeries

Financial Time Series Objects (Rmetrics)

v3062.100
GPL (>= 2)
Authors
Diethelm Wuertz [aut] (original code), Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb] (<https://orcid.org/0000-0002-8685-9910>)
Initial release
2020-01-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.