View source: R/data_gen_Chaotic.R
data.gen.Logistic | R Documentation |
Generates a time series using the logistic map.
data.gen.Logistic(
nobs = 5000,
r = 4,
start = runif(n = 1, min = 0, max = 1),
s,
do.plot = TRUE
)
nobs |
Length of the generated time series. Default: 5000 samples. |
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. |
s |
The level of noise, default 0. |
do.plot |
Logical value. If TRUE (default value), a plot of the generated Logistic system is shown. |
The logistic map is defined as follows:
x_n = r \cdot x_{n-1} \cdot (1 - x_{n-1})
A vector of time series.
Constantino A. Garcia (2019). nonlinearTseries: Nonlinear Time Series Analysis. R package version 0.2.7. https://CRAN.R-project.org/package=nonlinearTseries
Logistic.map=data.gen.Logistic(nobs = 1000, do.plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.