Mercurial > repos > jfb > py_data_cleanup
comparison pYtime/xytime.R @ 1:72fbbff22c5c draft default tip
Uploaded
| author | jfb |
|---|---|
| date | Tue, 27 Feb 2018 12:38:51 -0500 |
| parents | 16160fe81a16 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:16160fe81a16 | 1:72fbbff22c5c |
|---|---|
| 1 #change all central Ys to xY and do nothing else | 1 #change all central Ys to xY and do nothing else |
| 2 | 2 |
| 3 inputtoim<-read.csv("needspy.csv",header = FALSE,sep = ",",stringsAsFactors = FALSE) | 3 inputtoim<-read.csv("needspy.csv",header = FALSE,sep = ",",stringsAsFactors = FALSE) |
| 4 | 4 |
| 5 YsToim<-rep("xY",times=nrow(inputtime)-1) | 5 YsToim<-rep("xY",times=nrow(inputtoim)-1) |
| 6 YsToim<-c("0",YsToim) | 6 YsToim<-c("0",YsToim) |
| 7 | 7 |
| 8 outputtoim<-inputtoim | 8 outputtoim<-inputtoim |
| 9 | 9 |
| 10 outputtoim[,11]<-YsToim | 10 outputtoim[,11]<-YsToim |
