README.md

map1d

A collection of R functions to create plots of one-dimensional maps.

Installation

devtools::install_github("btamasi/map1d")

Examples

Cobweb plots of the logistic map with r=3.2 and r=3.9

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")

Alt text

Orbit diagram of the sine map

plotOrbitDiagram(function(x, r) r * sin(pi * x), 0.7, 1, 800, 800, 500)
title("Orbit diagram of the sine map")

Alt text

Reference



btamasi/map1d documentation built on May 13, 2019, 8:16 a.m.