Displaying 1 result from an estimated 1 matches for "datasetorder".
2012 Mar 19
2
Save File after order
...,data.frame(name="x3",Time=23))
x<-rbind(x,data.frame(name="x2",Time=45))
x<-rbind(x,data.frame(name="x1",Time=25))
x<-rbind(x,data.frame(name="x1",Time=55))
x<-x[order(x$name),]
View(x)
write.csv(data.frame(x$name,x$Time), file = "~/Desktop/DatasetOrder.csv")
In this momment save this
name Time
1 x1 20
5 x1 25
6 x1 55
2 x2 25
4 x2 45
3 x3 23
The ideia is save
name Time
x1 20
x1 25
x1 55
x2 25
x2 45
x3 23
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Save-File-after-order-tp4484...