Learn R Programming

ts2net (version 0.1.0)

tsnet_rn: Construct the recurrence network from a time series.

Description

This function constructs the recurrence matrix of the time series using the function `rqa()` from nonlinearTseries package.

Usage

tsnet_rn(x, radius, embedding.dim, time.lag = 1, do.plot = FALSE, ...)

Arguments

x

Array. Time series

radius

Maximum distance between two phase-space points to be considered a recurrence.

embedding.dim

Integer denoting the dimension in which we shall embed the time.series. If missing, the embedding dimensions is estimated using `estimateEmbeddingDim()` from nonlinearTseries. The constructed igraph network has the estimated dimension (and other info) as a parameter. For example: net$embedding_dim

time.lag

Integer denoting the number of time steps that will be use to construct the Takens' vectors.

do.plot

Boolean. Show recurrence plot (default = FALSE)

...

Other parameters to `rqa()` from nonlinearTseries

Value

recurrence network