search for: datet

Displaying 6 results from an estimated 6 matches for "datet".

Did you mean: date
2012 Sep 18
2
Data frame divison by another data frame with common groups and different length
Dear all, I have two different data frames, that have two common variables: date and sample. Here is a small extract of both of them > head(traffic) datet sessiont samplet buddleiat 1 07-08-2012 1 1 1 2 07-08-2012 1 1 1 3 07-08-2012 1 1 1 4 07-08-2012 1 2 3 5 07-08-2012 1 2 1 6 07-08-2012 1 2 2 7 07-08-2012...
2003 Oct 17
7
datetime data and plotting
If I take the following simple data: YEAR MONTH DAY WEIGHT.KG 2003 10 6 1.2 2003 10 12 1.2 2003 10 16 1.3 and format the date data and plot it: dates <- strptime(paste(DAY,MONTH,YEAR),"%d%m%Y") plot(c(min(dates),max(dates)),c(0,max(WEIGHT.KG)), xlab="Date",ylab="Weight (kg)",type="n") lines(dates,WEIGHT.KG) points(dates,WEIGHT.KG) I find that the
2010 Mar 22
0
as.ltraj Error in sort.list(y)
I am trying to workout trajectories from GPS tracking data to run in the FPT function.    This is my code:   id<-data.frame (FPT[,6]) xy<-data.frame (FPT[,4], FPT[,3]) datet <- as.POSIXct (datetime) x<-as.traj(id, xy, datet)   And I get this error:   Error in sort.list(y) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?   I have checked and x and y are both atomic so I don't understand the error.  The sort command...
2012 Sep 16
1
possible TZ bug in parseISO8601 - "Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : [...]"
...on 2: In as_numeric(YYYY) : NAs introduced by coercion Checking with debugger() reveals this > debugger() Message: Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : missing value where TRUE/FALSE needed Available environments had calls: 1: FindHighRow(dateTable, theTimeSeries, 2, 3) 2: #4: searchVector[dateFilter] 3: #4: `[.xts`(searchVector, dateFilter) 4: .parseISO8601(ii, .index(x)[1], .index(x)[nr], tz = tz) 5: as.POSIXlt(do.call(lastof, parse.side(intervals[2], intervals[1]))) 6: do.call(lastof, parse.side(intervals[2], intervals[1])) 7: fu...
2005 May 08
3
Overriding date_select in local project to use custom value rather than blank for starting option...
I would like to have a date control on a page and I would like a behavior similar to what you get using date_select with the :include_blank => true option where the first value in the dropdown is "- Month -", "- Day -", or "- Year -" rather than a blank value for the respective month, day, and year select fields. I took a look at the ruby source for
2007 Dec 12
6
Add a month to a Date object
Howdy all, This may be the dumbest question in the world, but how can you "add one month" to a Date object? I can''t just add 30 days, because months have varying lengths. Any help would be much appreciated... Thanks! -Neal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: