Displaying 1 result from an estimated 1 matches for "getrmetricsoptions".
2011 Jul 04
1
[R-SIG-Finance] FinCenter in timeSeries with "merge", "cbind" and "rbind"
Hi R users:
When I try to merge or bind (cbind or rbind) two series,
both with a "FinCenter" different that GMT, the
result is "GMT" not the original financial center?
What am I doing wrong?
######################################################
require(timeSeries)
getRmetricsOptions("myFinCenter")
setRmetricsOptions(myFinCenter = "America/Bogota")
getRmetricsOptions("myFinCenter")
fechas <- format(timeCalendar(2010, sample(12, 6)))
datos <- matrix(round(rnorm(6), 3))
t1 <- sort(timeSeries(datos, fechas, units = "A"))
t1
fecha...