plotReturns {fractalrock} | R Documentation |
This is a convenience function for studying the generated time series by the fragtalrock package. Given a time series of prices, plotReturns will plot both the original time series of prices and the returns series. This is a useful visual aid in determining the utility of the simulated time series.
plotReturns(series, ...)
series |
A time series |
... |
Additional arguments to pass to plot |
Invisibly returns the original series
Brian Lee Yung Rowe
data(generators) ps <- fractal(sampleInitiators, sampleGenerators, epochs=3) plotReturns(ps)