Learn R Programming

BMisc (version 1.4.8)

cs2panel: 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)

Value

the change in outcomes over time

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)