Description Usage Arguments Value Author(s) Examples

Mandelbrot convergence counts

1 |

`Z` |
A complex matrix for which convergence counts should be calculated. |

`xmid, ymid, side, resolution` |
Alternative specification of
the complex plane |

`maxIter` |
Maximum number of iterations per bin. |

`tau` |
A threshold; the radius when calling divergence (Mod(z) > tau). |

Returns an integer matrix (of class Mandelbrot) with non-negative counts.

The internal Mandelbrot algorithm was inspired by and adopted from similar GPL code of Martin Maechler available from ftp://stat.ethz.ch/U/maechler/R/ on 2005-02-18 (sic!).

1 2 3 4 5 6 7 8 9 10 11 | ```
counts <- mandelbrot(xmid = -0.75, ymid = 0, side = 3)
str(counts)
## Not run:
plot(counts)
## End(Not run)
## Not run:
demo("mandelbrot", package = "future", ask = FALSE)
## End(Not run)
``` |

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.