powered by
false nearest neighbours
# S4 method for data.frame fnn( data, target, lib = NULL, pred = NULL, E = 2:10, tau = 1, dist.metric = "L1", rt = 10, eps = 2, threads = length(E) )
A vector
observation data.
name of target variable.
(optional) libraries indices.
(optional) predictions indices.
(optional) embedding dimensions.
(optional) step of time lags.
(optional) distance metric (L1: Manhattan, L2: Euclidean).
L1
L2
(optional) escape factor.
(optional) neighborhood diameter.
(optional) number of threads to use.
Kennel M. B., Brown R. and Abarbanel H. D. I., Determining embedding dimension for phase-space reconstruction using a geometrical construction, Phys. Rev. A, Volume 45, 3403 (1992).
sim = logistic_map(x = 0.4,y = 0.4,step = 45,beta_xy = 0.5,beta_yx = 0) fnn(sim,"x",threads = 1)
Run the code above in your browser using DataLab