data("Wages", package="plm")
Wag <- pdata.frame(Wages, 595)
# Gasoline contains two variables which are individual and time indexes
data("Gasoline", package="plm")
Gas <- pdata.frame(Gasoline, c("country","year"), drop = TRUE)
# Hedonic is an unbalanced panel, townid is the individual index
data("Hedonic", package="plm")
Hed <- pdata.frame(Hedonic, "townid", row.names = FALSE)
Run the code above in your browser using DataLab