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