Displaying 1 result from an estimated 1 matches for "datav1".
Did you mean:
data1
2011 Mar 04
2
Reading in and manipulating multiple data sets from the same input file
...125 6 125 6 0
7 0 7 0 7 0
8 0 8 0 8 125
.
.
.
With n~100. My current code deals with only 1 data set, n~1 (below):
profile<-read.table("datav1.txt",header=T)
attach(profile)
lines<-profile[Y>100,]
d<-lines$X
i<-1
l<-1:1:i
while(i<30){
l[i]<-(d[(i+1)]-d[i])
temp<-i+1
i<-temp
}
L<-l[l>22]
I want to extend this to accept n data sets to see how L varies between each
data set. The way I have been tryi...