Description Usage Arguments Value Author(s) Examples

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.

1 | ```
plotReturns(series, ...)
``` |

`series` |
A time series |

`...` |
Additional arguments to pass to plot |

Invisibly returns the original series

Brian Lee Yung Rowe

1 2 3 | ```
data(generators)
ps <- fractal(sampleInitiators, sampleGenerators, epochs=3)
plotReturns(ps)
``` |

```
Loading required package: futile.any
Loading required package: lambda.r
Loading required package: futile.logger
Loading required package: timeDate
Loading required package: quantmod
Loading required package: xts
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: TTR
Version 0.4-0 included new data defaults. See ?getSymbols.
```

fractalrock documentation built on May 29, 2017, 7:10 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.