#There are 595 individuals
data("Wages", package="Ecdat")
Wages <- plm.data(Wages, 595)
# Gasoline contains two variables which are individual and time indexes
# The pdata.frame is called gas
data("Gasoline", package="Ecdat")
Gasoline <- plm.data(Gasoline, c("country","year"))
summary(Gasoline)
# Hedonic is an unbalanced panel, townid is the individual index
data("Hedonic", package="Ecdat")
Hedonic <- plm.data(Hedonic, "townid")
Run the code above in your browser using DataLab