powered by
calculates the period at each row from the row of interest
open_window(x, tcolumn, unit = "years", n, i)
vector
dataframe
time column
unit
desired n
row number