get_Yit_inner: get_Yit_inner

View source: R/BMisc.R

get_Yit_innerR Documentation

get_Yit_inner

Description

Calculates a units outcome in some particular period 'tp'. This function operates on a data.frame that is already local to a particular unit.

Usage

get_Yit_inner(this_df, tp, yname, tname)

Arguments

this_df

a data.frame, for this function it should be specific to a particular unit

tp

The time period for which to get the outcome

yname

name of column containing the outcome (or other variable) for which to calculate its outcome in the immediate pre-treatment period

tname

name of column that holds the time period


bcallaway11/BMisc documentation built on March 13, 2024, 1:39 a.m.