search for: datav2

Displaying 1 result from an estimated 1 matches for "datav2".

Did you mean: data2
2011 Mar 04
2
Reading in and manipulating multiple data sets from the same input file
...t;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 trying to do this is as follows: profile<-read.table("datav2.txt",header=T) j<-1 lines[j]<-profile[profile$Y[(2*j)]>100,] etc. However this returns the message "Error in profile$Y : object of type 'closure' is not subsettable". Does anybody know if there is any way I can read in a file containing many data sets and save each...