DChaos (version 0.1-1)

logistic.ts: Simulation of time series from the Logistic equation

Description

This function simulates time series from the Logistic equation considering the argument set selected by the user. The initial condition of each time serie is a random number between 0 and 1.

Usage

logistic.ts(u.min = 1, u.max = 4, sample = 1000, transient = 100,
  B = 100, doplot = TRUE)

Arguments

u.min

a non-negative integer denoting a lower bound for the parameter u (Default 1).

u.max

a non-negative integer denoting an upper bound for the parameter u (Default 4).

sample

a non-negative integer denoting the length of each time serie (Default 1000).

transient

a non-negative integer denoting the number of observations that will be discarded to ensure that the values of each time serie are in the attractor (Default 100).

B

a non-negative integer denoting the number of series that will be generated for several u-parameter values. The number of simulated series must be at least 100 (Default 100).

doplot

a logical value denoting if you want to draw a plot TRUE or not FALSE. If it is TRUE shows four graphs: the evolution of the temporal trajectories for an initial period, the evolution of these for the whole period, the attractor and its projections on the Cartesian plane and the bifurcation diagram (Default TRUE).

Value

A list containing as many items as series we want to simulate B. Each of them has the following attributes: the value of the parameter u, the value of the initial condition xo and a time serie from the iterated Logistic equation.

References

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

See Also

henon.ts, rossler.ts, lorenz.ts

Examples

Run this code
# NOT RUN {
## Simulates 100 time series from the logistic equation for
## u-parameter values in which this system exhibits a chaotic
## behaviour:
ts<-logistic.ts(u.min=3.57,u.max=4,B=100,doplot=TRUE)
# }

Run the code above in your browser using DataLab