search for: lasthour

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

Did you mean: lasthome
2008 Nov 05
1
Importing data to a multidimensional array
...dimensional array? I am importing data from several text files: dsdir<-"c:/documents and settings/desktop/07082008/" # path to files dsfb1<-"07082008-DI4129b.dat" # file base name firsthour<-13 # first hour of observation which changes from 6am to 1pm from day to 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...