Displaying 1 result from an estimated 1 matches for "mr1001".
Did you mean:
fr1001
2011 Feb 02
0
Need help subsetting time series data
...extra locations
from my dataset, but am new to R and haven't figured out a way to do so.
I've tried some inelegant solutions involving verbose code, but haven't been
able to come up with something that works correctly.
Some things I've tried:
#Subsetting out by minute value:
>MR1001=read.csv(etc)
>datetime<-paste(MR1001$date,MR1001$time)
>datetime<-as.POSIXlt(strptime(as.character(datetime), tz="UTC", "%m/%d%Y
%H:%M:%S"))
>MR1001$min<-datetime$min
>t1<-subset(MR1001,min==30|min==31|min==32|min==33|min==34)
This works for most of the...