Fixed Effect Regression - Country-specific time trend

I have run regression on panel data with country fixed effect. Breusch-pagan test for time
fixed effects shows that I do not need year fixed effect for my regression. The code for my regression is give below:

fe <- plm(unemployment ~ fdi + investment + inflation + gdpgrowth + school + trade + naturalresources, data=westa, model ="within")

However, I want to control for "country-specific time trends". Unfortunately, I am new to "r" and I dont know the code required for the country-specific time trend. Which code can I use?
Thank you very much in advance.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.