Description Arguments Value Usage References
The fractal function generates a time series of points using basic principles of fractal patterns. Fractal generation can be used to simulate a time series of asset prices, which has been shown to better reflect the distribution of returns than using a Gaussian random walk. Any number of points can be generated based on specifying the total count or by running over a number of epochs. The range of the data is defined by the given seed for the generation plus the available patterns.
n |
Number of samples to generate |
initiator |
The initiator function. Defaults to |
generator |
The generator function. Defaults to |
An xts object containing a time series of values representing asset prices
rfractal(n, initiator=rinitiator, generator=rgenerator)
M. Frame, B. Mandelbrot, N. Neger. Fractal Geometry. 2009. http://classes.yale.edu/fractals/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.