search for: findhighrow

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

2012 Sep 16
1
possible TZ bug in parseISO8601 - "Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : [...]"
...ght ;o) I've been learning R intensively the last two weeks and gone from newbie status to *reasonably* comfortable with it. Here's an issue I just cannot solve however as it appears to be some kind of bug in R itself. But I won't claim that for sure. I have a function as follows: FindHighRow <- function(searchVector, highColumnIndex, thisDate, nextDate) { dateFilter <- GetDateRangeString(thisDate,nextDate) filtered <- searchVector[dateFilter] returnRow <- filtered[which.max(filtered[,highColumnIndex])] returnRow } Running the lines BY HAND works fine. But as soon...