Displaying 2 results from an estimated 2 matches for "nextdate".
2012 Sep 16
1
possible TZ bug in parseISO8601 - "Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : [...]"
...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 as I call it as a
function (passing in *exactly* the same values...
2011 Oct 15
2
function for handling time
Dear all
I have the following time stamps (in the following format)
MeasurementSet$TimeStamps
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 2011 7 2 13 43 48.718
[2,] 2011 7 2 13 43 54.281
[3,] 2011 7 2 13 43 59.843
[4,] 2011 7 2 13 44 5.390
[5,] 2011 7 2 13 44 10.859
[6,] 2011 7 2 13 44 16.375
[7,] 2011 7 2 13 44