Learn R Programming

tbrf (version 0.1.5)

open_window: Open Window

Description

calculates the period at each row from the row of interest

Usage

open_window(x, tcolumn, unit = "years", n, i)

Value

vector

Arguments

x

dataframe

tcolumn

time column

unit

unit

n

desired n

i

row number