Find a fixed radius without building the recurrence matrix.
est_radius_rqa(
y1 = NULL,
y2 = NULL,
AUTO = NULL,
method = "Euclidean",
startRadius = NULL,
targetValue = 0.05,
tol = 0.01,
maxIter = 100,
theiler = NA,
histIter = FALSE,
standardise = c("mean.sd", "median.mad", "none")[3],
radiusOnFail = c("tiny", "huge", "percentile")[3],
silent = FALSE,
useParallel = TRUE,
doEmbed = TRUE
)
A numeric vector or time series
A numeric vector or time series for cross recurrence
Auto-recurrence? (default = FALSE
)
Distance measure to use. Any option that is valid for argument method
of proxy::dist()
. Type proxy::pr_DB$get_entries()
to see a list of all the options. Common methods are: "Euclidean", "Manhattan", "Minkowski", "Chebysev"
(or the same but shorter: "L2","L1","Lp", "max"
distance). To use the shape based distance for phase-based recurrence use "SBD"
(default = "Euclidean"
)
The starting value for the radius (default = SD of time series values)
When argument type
is set to "fixed", the value represents the target value for the measure in targetMeasure
(default = RR = .05
).
Tolerance for achieving targetValue
for targetMeasure
(default = 0.01
)
If type = "fixed"
: Maximum number of iterations to reach targetValue.
Size of theiler window (default 0
)
Return iteration history? (default = FALSE
)
Standardise y
if type == "optimal"
Radius to return when search fails "tiny" = 0 + ,Machine.double.eps
, this will likely cause a matrix full of zeros. "huge" = 1 + max. distance
, which will give a matrix full of ones, "minimum" = minimum distance in matrix
.
Silent-ish
Should evaluation run using package parallel? This is will only be beneficial if the time series contains more than 10k data points (default = TRUE
)
If FALSE
, a distance matrix will be returned that is not embedded by emDim
and emLag
(Multidimensional RQA). If y1
and/or y2
are data frames, the columns will be used as the state space dimensions (default = TRUE
)
Noise level to construct the signal + noiseLevel *
\(N(\mu=0,\sigma=1)\) (default = 0.75
)
Type
Generates an ROC plot if type = "optimal"
A dataframe listing settings used to search for the radius, the radius found given the settings and the recurrence rate produced by the radius (either 1 row or the entire iteration history)
Other Estimate Recurrence Parameters:
est_emDim()
,
est_emLag()
,
est_parameters()
,
est_parameters_roc()
,
est_radius()