Recurrence quantification analysis (RQA) is a method of nonlinear data analysis (cf. chaos theory) for the investigation of dynamical systems. It quantifies the number and duration of recurrences of a dynamical system presented by its phase space trajectory.
I used NCalc to get expression from string: https://github.com/sheetsync/NCalc
Install - Newtonsoft.Json with NuGet