View source: R/twin_surrogate.R
twin_surrogate_cpp | R Documentation |
twin_surrogate_cpp
generates twin surrogate time series.
twin_surrogate_cpp(
original,
dim,
num.iter,
tau = 1,
s = 0.875,
surrogate.option = c("random", "phase_lock"),
initial.point = c("same_season", "twins"),
distance.method = c("norm", "euclid"),
point.per.year = 24,
s.update = c("on", "off"),
n.twin.threshold = 10,
output.message = F
)
original |
Original time series. |
dim |
Integer. Embedding dimension. |
num.iter |
Numeric. The number of surrogate to be generated. |
tau |
Numeric. Time delay in the embedded time series. |
s |
Numeric. Threshold for the twin in the recurrence plot. |
surrogate.option |
Character. If |
initial.point |
Character. If |
distance.method |
Character. Specify how the distance between points in a state space is calculated. |
point.per.year |
Numeric. Specify how many observations were made in a unit time (e.g. 24 observations per year). |
s.update |
Character. If |
n.twin.threshold |
Numeric. The minimum number of twins to be accepted. |
output.message |
Logical. If |
Twin surrogate time series.
# twin_surrogate_cpp(time_series, 3, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.