Displaying 1 result from an estimated 1 matches for "corrected_data".
Did you mean:
correct_data
2011 Jan 30
1
Extract subsets of different and unknown lengths from huge dataset
...art of an event of unknown length (unknown
number of values). And the end of an event again is defined by at least 24
values being equal to 0. I want to subset the single events for the purpose
of examining the maximum value within each event.
I tried:
> xx1 <- read.table(pipe("cut -f2 corrected_data.txt"),header=T)
> nrow(xx1)
[1] 2500000
> start1 <- data.frame(start=rep("NA",length.out=nrow(xx1)))
> stop1 <- data.frame(stop=rep("NA",length.out=nrow(xx1)))
> max.xx1 <- data.frame(max.xx=rep("NA",length.out=nrow(xx1)))
> XXframe <- d...