I am trying to automate the setting of the linetype in a ggplot call which I will run inside a for loop. The data have around 20 values in the var2 variable, which I loop through taking Eurostoxx (the index) and one other value to graph at a time.I am trying to automate the setting of the line