gen.logistic: Logistic map

Description Usage Arguments Value Examples

View source: R/logistic.R

Description

Generate iterations of the logistic map defined as x[t+1] = mu * x[t] * (1 - x[t]).

Usage

1
gen.logistic(mu, iter = 5000, x0 = 1e-04)

Arguments

mu

parameter of the logistic function. mu should be from the interval (0,4).

iter

number of iterations of the logistic function. Default is 5000.

x0

the initial value of the series. Should be from the interval (0,1). Default is 0.0001.

Value

numeric vector with the iterations of the logistic map.

Examples

1
2
vec.x <- gen.logistic(mu = 3.55, iter = 200)
plot(vec.x, type = "l")

Example output



Chaos01 documentation built on Aug. 21, 2019, 5:10 p.m.