I am trying to plot the graph using ggplot2
So I have the following dataframe:
iter se perf name 1 V1 0.6463573 12.8 e 2 V2 0.3265
You need to adjust the group aesthetic, replace :
geom_line(position=pd)
by
geom_line(position=pd,aes(group=name))