Error in `.rowNamesDF<-`(x, value = value) : duplicate 'row.names' are not allowed

Hello:

I'm new to R. I tried running a panel regression and I'm getting an error per below. What am i doing wrong and how can I fix the problem?

reg_headcount <- plm(lg.headcount~lg.remitpc+lg.gdppc+lg.gini, data=remittances.panel)
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed

Probably there is something wrong with the data.frame .
Please show us it's contents e.g. by executing in the console panel
str(remittances.panel)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.