Extract vertical lines from a recurrence plot on which it calculates laminarity (the percentage of recurrence points which form vertical lines), and trappingtime (the mean length of vertical lines).
1  tt(x, minvertline, whiteline)

x 
A binary matrix representing a recurrent plot 
minvertline 
A minimum vertical length of recurrent points. 
whiteline 
A logical flag to calculate (TRUE) or not (FALSE) empty vertical lines 
This function is based on MATLAB code
written by Norbert Marwan, available in crptoolbox
A list with four variables: TT (The average length of vertical line structures), lam (proportion of recurrent points forming vertical line structures), tw (vertically consecutive white pointslines) and tb (vertically consecutive black pointslines). If whiteline = FALSE, tw = NA.
Moreno I. Coco (moreno.cocoi@gmail.com)
1 2 3 4 5 6 7 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.