svensson_attractor: Svensson attractor

Description Usage Arguments Examples

View source: R/svensson_attractor.R

Description

Generates data for plotting a Svensson 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

1
2
3
4
5
6
7
8
9
svensson_attractor(
  a = 1.4,
  b = 1.6,
  c = -1.4,
  d = 1.5,
  x0 = 0.1,
  y0 = 0.1,
  n = 1e+06
)

Arguments

a, b, c, d

Parameters

x0, y0

Initial point coordinates

n

Number of points to generate

Examples

1

marcusvolz/mathart documentation built on May 24, 2021, 4:16 p.m.