Skip to content
Prev 169430 / 398506 Next

pdata.frame for panel data

Hi there,

as a newbie in R I have a question on the plm package for panel data:

How do I actually manage to get data into the pdata.frame format?
i.e. how do I declare id and time? I already tried various things and got even more error messages. for example
serie SYC  is NA and has been removed
Fehler in (function(x, i) if (is.matrix(i)) as.matrix(x)[[i]] else .subset2(x,  : 
        rekursives Indizieren auf Level 2 fehlgeschlagen

where EMPR is a data.frame with 16 rows (time) and 15 columns (countries).

Thank you,
Kirsten