this determines the time in days relative to an index either before or after

Slots

days

either a character string all or an integer for the number of days

coeff

a character string either before or after