A collection of R functions to create plots of one-dimensional maps.
devtools::install_github("btamasi/map1d")
par(mfrow = c(1, 2))
plotCobweb(function(x) mapLogistic(x, 3.2), 0.1, 200)
title("r = 3.2")
plotCobweb(function(x) mapLogistic(x, 3.9), 0.1, 200)
title("r = 3.9")
plotOrbitDiagram(function(x, r) r * sin(pi * x), 0.7, 1, 800, 800, 500)
title("Orbit diagram of the sine map")
- Steven H. Strogatz: Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering - chapter 10