An R package for fractals
R C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
figs
man
src
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
fractal.Rproj

README.md

Fractal

An R package to calculate the Mandelbrot set. The function that calculates the set is written in C, and so it is very fast.

If you have the devtools package installed (and if you have set up an appropriate C compiler), you can install the package by typing in the R command prompt

> devtools::install_github ("mariodosreis/fractal")

Examples

Plot the set

n <- 40
z <- fractal::mandelbrot(iter=n)
par(pty="s")
image(z, col=c(topo.colors(n),"black"), las=1)

The Mandelbrot set