Get and Set Financial Center of a 'timeSeries'

Share:

Description

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

Usage

1
2
3
4
5
6
7
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.