search for: searchend

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

Did you mean: searched
2011 Mar 10
2
Selecting ranges of dates from a dataframe
...d")) # create a data.frame values <- data.frame(row.names=1, datum=numeric(0), write=numeric(0), read=numeric(0)) for(i in as.character(dates.serv)) { # build up a values for a day-range searchstart <- as.POSIXlt(paste(i, "00:00:00", sep=" ")) searchend <- as.POSIXlt(paste(i, "23:59:59", sep=" ")) # select all values from a specific day day <- serv[(serv$datum >= searchstart & serv$datum <= searchend),] write <- as.numeric(sum(as.numeric(day$write))) read <- as.numeric(sum(a...