search for: newposit

Displaying 2 results from an estimated 2 matches for "newposit".

Did you mean: newpost
2001 Nov 27
1
seek helppage. Possible clarification?
seek(zz,where=NewPosition) returns the OldPosition of connection zz (of the appropriate "pointer", i.e. read or write). Currently, the docs have: > Details: > > `seek' with `where = NA' returns the current byte offset of a > connection (from the beginning), and with a positive `...
2009 Aug 04
0
Efficient coding
...alDmnd)) if(format(end(tsrValDmnd), '%H') != '23') tsrValDmnd <- window(tsrValDmnd, start(tsrValDmnd), sequence[length(sequence)-2]) sequence <- sequence - 3600 tsrValDmnd <- aggregate(tsrValDmnd, by = sequence, sum) sequence <- seriesPositions(tsrValDmnd) newPositions(tsrValDmnd) <- sequence - 23*3600 #head(tsrValDmnd2) #sum(head(tsrValDmnd, 24)) tsrValSub <- cbind(tsrValDmnd, tsrValCount) tsrValSub <- na.omit(tsrValSub) head(tsrValSub) if(nrow(tsrValSub) > 1) { dif <- na.omit(tsrValSub[,-1] -lag(tsrValSub[,-1],1)) head(dif)...