Hi there!
I'm stuck with a problem aligning financial timeseries and haven't found
a cue how to fix it...
When I run that simple script, everything goes well until the
align-command:
--
rm(list=ls())
x - yahooSeries(^GDAXI)
head(x)
xAligned - align(x = x, by = 1d, method = before,
Hi all!
I've found the solution - the ordering of the series is important. It's
expected that the most recent entries are located at the bottom of the
data matrix. Here's the sorting command:
x - sort(x, decreasing = FALSE)
Kind regards:
Gero
Gero Schwenk schrieb:
Hi there!
I'm stuck
2 matches
Mail list logo