I am working on a school project where I calculate different predictors for some data and I created a function with some predictors so I can use them in a for cycle.