Panel Data Regression in R

#1
Help, i'm really new to R and don't really know much about panel data. Your help would be much appreciated.

I wanted to do regression and it would follow Model Gravity for Trade theory. In the theory, there should be one country as a base so you could predict its trade flow in the future. I figure since it's a panel data, i can't create a column containing this country data since it would mess with other countries data. How could i do this? Should I separate this country data in a new sheet?

sorry for my bad english
 

staassis

Active Member
#2
Have no idea what you have just said. How many countries do you have in the data set? How many time points? Why do you think this is panel data?