powered by
apply summary functions on an expanding basis
expanding.max(x) expanding.min(x)
An Fts object
an fts object
apply a function that takes a vector and returns a scalar on an expanding basis to an fts object
# NOT RUN { x <- fts(index=seq(from=Sys.Date(),by="days",length.out=100),data=rnorm(100)) x.emax <- expanding.max(x) x.emin <- expanding.min(x) # }
Run the code above in your browser using DataLab