Learn R Programming

timeDate (version 290.83)

finCenter: Financial Center of a timeDate object

Description

Print or assign new financial center to a timeDate object.

Usage

## S3 method for class 'timeDate':
finCenter(x)
## S3 method for class 'timeDate':
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
date <- timeDate("2008-01-01")
finCenter(date) <- "GMT"
date

finCenter(date) <- "Zurich"
date

Run the code above in your browser using DataLab