kstat KD Statistic. A robust Kolmogorov Smirnov like test for functional data. https://arxiv.org/abs/1909.01273 How to install install.packages("devtools") library(devtools) install_github("trevor-harris/kstat")