Learn R Programming

mathart (version 0.0.0.9000)

clifford_attractor: Clifford attractor

Description

Generates data for plotting a Clifford attractor and stores it in a data frame. The Rcpp implementation is from the blog post Drawing 10 Million Points With ggplot by Antonio Sanchez Chinchon.

Usage

clifford_attractor(a = 1.5, b = -1.8, c = 1.6, d = 2, n = 1e+07)

Arguments

a, b, c, d

Parameters

n

The number of points to generate

Examples

Run this code
# NOT RUN {
clifford_attractor()
# }

Run the code above in your browser using DataLab