cs2panel: Cross Section to Panel

Description Usage Arguments Value

View source: R/BMisc.R

Description

Turn repeated cross sections data into panel data by imposing rank invariance; does not require that the inputs have the same length

Usage

1
cs2panel(cs1, cs2, yname)

Arguments

cs1

data frame, the first cross section

cs2

data frame, the second cross section

yname

the name of the variable to calculate difference for (should be the same in each dataset)

Value

the change in outcomes over time


BMisc documentation built on Dec. 18, 2020, 5:08 p.m.