mbrot: Mandelbrot Iteration

Description Usage Arguments Examples

View source: R/mbrot.R

Description

This function runs a user-determined number of iterations of the formula that defines the Mandelbrot set, f(z)=z^2+c, and renders the series in a vector.

Usage

1
mbrot(c, n = 0)

Arguments

c

The value of "c" in the above formula. Can take a properly-formatted complex number.

n

The number of times to iterate. Default is 0. The lenght of the output series will be n+1.

Examples

1
mbrot(.2+.3i,n=6)

seanmcraig/scfunctions documentation built on June 9, 2021, 3:11 p.m.