'VECM model using R

Guys I am running a VECM to estimate the effect of exchange rate on exports. I have to run the same model for 10 different countries. Is there any easy way to do it all at once? Like creating a loop or something.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source