Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


nonlinearTseries (version 0.3.1)

logisticMap: Logistic map

Description

Generates a time series using the logistic map.

Usage

logisticMap(
  r = 4,
  start = runif(n = 1, min = 0, max = 1),
  n.sample = 5000,
  n.transient = 500,
  do.plot = deprecated()
)

Value

A vector containing the values of the time series that has been generated.

Arguments

r

The r parameter. Default: 4

start

A numeric value indicating the starting value for the time series. If the starting point is not specified, it is generated randomly.

n.sample

Length of the generated time series. Default: 5000 samples.

n.transient

Number of transient samples that will be discarded. Default: 500 samples.

do.plot

Logical value. If TRUE, a plot of the generated logistic system is shown. Before version 0.2.11, default value was TRUE; versions 0.2.11 and later use FALSE as default.

Author

Constantino A. Garcia

Details

The logistic map is defined as follows: xn=rxn1(1xn1) The default selection for the r parameter is known to produce a deterministic chaotic time series.

References

Strogatz, S.: Nonlinear dynamics and chaos: with applications to physics, biology, chemistry and engineering (Studies in Nonlinearity)

See Also

henon, lorenz, rossler, ikedaMap, cliffordMap, sinaiMap, gaussMap

Examples

Run this code
if (FALSE) {
log.map=logisticMap(n.sample = 1000, n.transient=10,do.plot=TRUE)
}

Run the code above in your browser using DataLab