cs2panel {BMisc}R Documentation

Cross Section to Panel

Description

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

Usage

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


[Package BMisc version 1.4.6 Index]