Transformation of vector of event times to the corresponding counting process variables.
TimestoN(times, t)
times
vector of event times
t
times of counting process