data.gen.Henon: Henon map

Description Usage Arguments Details Value Note References Examples

View source: R/data_gen_Chaotic.R

Description

Generates a 2-dimensional time series using the Henon map.

Usage

1
2
3
4
5
6
7
8
data.gen.Henon(
  nobs = 5000,
  a = 1.4,
  b = 0.3,
  start = runif(n = 2, min = -0.5, max = 0.5),
  s,
  do.plot = TRUE
)

Arguments

nobs

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

a

The a parameter. Default: 1.4.

b

The b parameter. Default: 0.3.

start

A 2-dimensional vector indicating the starting values for the x and y Henon coordinates. Default: If the starting point is not specified, it is generated randomly.

s

The level of noise, default 0.

do.plot

Logical value. If TRUE (default value), a plot of the generated Henon system is shown.

Details

The Henon map is defined as follows:

x[n] = 1 - a*x[n - 1]^2 + y[n - 1]

y[n] = b*x[n - 1].

The default selection for both a and b parameters (a=1.4 and b=0.3) is known to produce a deterministic chaotic time series.

Value

A list with two vectors named x and y containing the x-components and the y-components of the Henon map, respectively.

Note

Some initial values may lead to an unstable system that will tend to infinity.

References

Constantino A. Garcia (2019). nonlinearTseries: Nonlinear Time Series Analysis. R package version 0.2.7. https://CRAN.R-project.org/package=nonlinearTseries

Examples

1
Henon.map=data.gen.Henon(nobs = 1000, do.plot=TRUE)

Example output



synthesis documentation built on May 3, 2021, 9:07 a.m.