powered by
Converts objects produced by mandelbrot to tidy data.frames for use with ggplot and other tidyverse packages.
mandelbrot
# S3 method for mandelbrot as.data.frame(x, ...)
a Mandelbrot set object produced by mandelbrot
ignored
a 3-column data.frame
data.frame
# NOT RUN { mb <- mandelbrot() df <- as.data.frame(mb) head(df) # }
Run the code above in your browser using DataLab