@@ -86,15 +86,18 @@ SparseArrays.SparseMatrixCSC(R::ARM) = SparseMatrixCSC(R.data)
8686# Documentation strings and dispatch to `recurrence_matrix`
8787# ###############################################################################
8888"""
89- RecurrenceMatrix(x, ε ; metric = Euclidean(), parallel::Bool)
89+ RecurrenceMatrix(x, rthres ; metric = Euclidean(), parallel::Bool)
9090
91- Create a recurrence matrix from trajectory `x`
92- and with recurrence threshold specification `ε `.
91+ Create a recurrence matrix from timeseries or trajectory `x`
92+ and with recurrence threshold `rthres `.
9393`x` is either a [`StateSpaceSet`](@ref) for multivariate data
9494or an `AbstractVector{<:Real}` for timeseries.
9595
96- If `ε::Real` is given, a [`RecurrenceThreshold`](@ref) is used to specify recurrences.
97- Otherwise, any subtype of [`AbstractRecurrenceType`](@ref) may be given as `ε` instead.
96+ The variable `rthres` defines how recurrences are estimated.
97+ It can be any subtype of [`AbstractRecurrenceType`](@ref),
98+ and different types can specify recurrences differently.
99+ Alternatively, `rthres` can be a real number, which then becomes
100+ an instance of [`RecurrenceThreshold`](@ref).
98101
99102The keyword `metric`, if given, must be any subtype of `Metric` from
100103[Distances.jl](https://github.com/JuliaStats/Distances.jl)
@@ -166,16 +169,16 @@ end
166169
167170
168171"""
169- CrossRecurrenceMatrix(x, y, ε ; kwargs...)
172+ CrossRecurrenceMatrix(x, y, rthres ; kwargs...)
170173
171174Create a cross recurrence matrix from trajectories `x` and `y`.
172- See [`RecurrenceMatrix`](@ref) for possible value for `ε ` and `kwargs`.
175+ See [`RecurrenceMatrix`](@ref) for possible value for `rthres ` and `kwargs`.
173176
174177The cross recurrence matrix is a bivariate extension of the recurrence matrix.
175178For the time series `x`, `y`, of length `n` and `m`, respectively, it is a
176179sparse `n×m` matrix of Boolean values.
177180
178- Note that cross recurrence matrices are generally not symmetric irrespectively of `ε `.
181+ Note that cross recurrence matrices are generally not symmetric irrespectively of `rthres `.
179182"""
180183function CrossRecurrenceMatrix (x, y, ε;
181184 # DEPRECATED keywords. TODO : Remove them in next stable release.
@@ -203,10 +206,10 @@ function CrossRecurrenceMatrix(x, y, ε;
203206end
204207
205208"""
206- JointRecurrenceMatrix(x, y, ε ; kwargs...)
209+ JointRecurrenceMatrix(x, y, rthres ; kwargs...)
207210
208211Create a joint recurrence matrix from trajectories `x` and `y`.
209- See [`RecurrenceMatrix`](@ref) for possible values for `ε ` and `kwargs`.
212+ See [`RecurrenceMatrix`](@ref) for possible values for `rthres ` and `kwargs`.
210213
211214The joint recurrence matrix considers the recurrences of the trajectories
212215of `x` and `y` separately, and looks for points where both recur
0 commit comments