powered by
Generate iterations of the logistic map defined as x[t+1] = mu * x[t] * (1 - x[t]).
gen.logistic(mu, iter = 5000, x0 = 1e-04)
parameter of the logistic function. mu should be from the interval (0,4).
number of iterations of the logistic function. Default is 5000.
the initial value of the series. Should be from the interval (0,1). Default is 0.0001.
numeric vector with the iterations of the logistic map.
# NOT RUN { vec.x <- gen.logistic(mu = 3.55, iter = 200) plot(vec.x, type = "l") # }
Run the code above in your browser using DataLab