Relative Content

Tag Archive for rtime-serieszoo

Simple loop through large xts gives fatal error

I’m trying to add a variable that keeps track of the all-time high of a time series. The below doesn’t work – R encounters a fatal error during the for loop. I don’t quite understand what’s wrong here.