powered by
Generates a time series from the logistic map
logistic_map(N, r, start="rand", disregard_N=0)
length of the time series that is to be generated
logistic map parameter, must be in the range [0,4]
start value. Default is to random.
Number of values at the beginning of the series to disregard
A vector of length N
May, R.M., 1976. Simple mathematical models with very complicated dynamics. Nature, 261(5560), pp.459-467.
# NOT RUN { logistic_map(N = 10^4, r=4) # }
Run the code above in your browser using DataLab