Mercurial > repos > jfb > transposy_data_cleanup
annotate transposy/transposy.R @ 1:c2c215a5dea0 draft default tip
Uploaded
| author | jfb |
|---|---|
| date | Tue, 27 Feb 2018 12:11:57 -0500 |
| parents | eac197ac2fb2 |
| children |
| rev | line source |
|---|---|
| 0 | 1 #transpose a csv file, DO NOTHING ELSE |
| 2 | |
| 3 inputy<-read.csv(file = "transposy.csv", header = FALSE, stringsAsFactors = FALSE) | |
| 4 outputy<-"outputy.csv" | |
| 5 | |
| 6 inputy<-as.data.frame(inputy) | |
| 7 | |
| 8 transposy<-t(inputy) | |
| 9 | |
| 10 write.table(x=transposy,file = outputy,row.names = FALSE,col.names = FALSE,sep=",") |
