logistic_map: A function to generate a time series from the logistic map

Description Usage Arguments Value Author(s) References Examples

View source: R/chaotic_maps.R

Description

Generates a time series from the logistic map

Usage

1
logistic_map(N, r, start="rand", disregard_N=0)

Arguments

N

length of the time series that is to be generated

r

logistic map parameter, must be in the range [0,4]

start

start value. Default is to random.

disregard_N

Number of values at the beginning of the series to disregard

Value

A vector of length N

Author(s)

Sebastian Sippel

References

May, R.M., 1976. Simple mathematical models with very complicated dynamics. Nature, 261(5560), pp.459-467.

Examples

1
logistic_map(N = 10^4, r=4)

Emergent-Epidemics/statcomp documentation built on Oct. 30, 2019, 5:32 p.m.