Displaying 1 result from an estimated 1 matches for "tdrrow".
Did you mean:
tarrow
2009 Oct 29
0
What is the best way to efficiently construct a data frame from multiple source files?
...<- paste(paste(20,substr(source,16,17),sep=""),
# year
substr(source,12,13), # month
substr(source,14,15), sep="/") # day
for (j in 1:nrow(tdr)) { # iterate over each spreadsheet row
tdrrow <- tdr[j,]
location <- tdrrow$probe
for (pos in 2:6) { # normalize the readings
if (is.na(tdrrow[,pos])) {
theta.percent<-NA }
else theta.percent<-as.numeric(tdrrow[,pos])
position <-...