search for: city_destin

Displaying 1 result from an estimated 1 matches for "city_destin".

Did you mean: city_destine
2012 Mar 26
2
copy the columns based on the code
...2) travel<-rbind(travel,data.frame(pos=1,Source=1,Destine=3)) travel<-rbind(travel,data.frame(pos=2,Source=3,Destine=4)) travel<-rbind(travel,data.frame(pos=3,Source=2,Destine=4)) travel<-rbind(travel,data.frame(pos=4,Source=1,Destine=3)) #for example pos Source city Destine city_destine 1 1 Barcelona 2 Madrid 1 1 Barcelona 3 Lisbon 2 3 Lisbon 4 Milan 3 2 Madrid 4 Milan which the fastest way to do this. Thanks. -- View this message in context: http://r.789695.n4.nabble.com/copy-the-column...