I am having problems in calling a function inside a for loop in R.
I have a function/model called X that has been defined already. And I want to use that function ins