timeSeries-slotFinCenter: Get and set Financial center of a 'timeSeries'

finCenterR Documentation

Get and set Financial center of a 'timeSeries'

Description

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

Usage

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

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

timeSeries documentation built on Sept. 30, 2024, 9:15 a.m.