R Reshaping data to wide format : I'd like to get my data to a specific format, but don't know how to get done with reshape().

My data looks like:


df<-data.frame(Cues=c("A","B","C","A","B","C"), Targets=rep(1:3,2), Rater=rep(1:2, each=3), Rating=c(1,3,5,2,4,6))

And I would like to get it like:

df2<-data.frame(Targets=rep(1:3,2), Cues=c("A","B","C","A","B","C"), Rater_1= c(1,2), Rater_2=c(3,5), Rater_3C=c(5,6))

I tried my best with the forum, reshape() and doesn't really get further. Could you guys help me?

Thanks in advance and best,
Josh
