search for: ds13a

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

Did you mean: ds13
2008 Nov 05
1
Importing data to a multidimensional array
...day lasthour<-20 # last hour of observation which also changes from 6 - 8pm for(i in firsthour:lasthour) assign(paste("ds",i,"a",sep=""),read.delim(file=paste(dsdir,i,dsfb1,sep=""), header=F, sep="\t", skip=5)) This code generates matrices from ds13a:ds20a containing data from the respective text files, but I need this in a three-dimensional array for further processing. The observation counts in the imported files vary from one to another, and there is never a set number of files to be imported. Any help is greatly appreciated. Thanks Sinc...