First Passage Time Analysis R