diff_nh function

Differentiate x and y and compute change amplitude via an algorithm proposed by Nyström and Holmqvist (2010) tools:::Rd_expr_doi("10.3758/BRM.42.1.188")