Mercurial > repos > jfb > py_data_cleanup
annotate pYtime/xytime.R @ 0:16160fe81a16 draft
Uploaded
author | jfb |
---|---|
date | Tue, 27 Feb 2018 11:27:07 -0500 |
parents | |
children | 72fbbff22c5c |
rev | line source |
---|---|
0 | 1 #change all central Ys to xY and do nothing else |
2 | |
3 inputtoim<-read.csv("needspy.csv",header = FALSE,sep = ",",stringsAsFactors = FALSE) | |
4 | |
5 YsToim<-rep("xY",times=nrow(inputtime)-1) | |
6 YsToim<-c("0",YsToim) | |
7 | |
8 outputtoim<-inputtoim | |
9 | |
10 outputtoim[,11]<-YsToim | |
11 | |
12 head(inputtoim) | |
13 head(outputtoim) | |
14 | |
15 write.table(x=outputtoim,file = "haspy.csv",row.names = FALSE,col.names = FALSE,sep = ",") |