search for: raincida

Displaying 3 results from an estimated 3 matches for "raincida".

Did you mean: coincida
2004 Aug 17
1
strptime() bug? And additional problem in package "tseries"
Hi all, I've got some problems with irts objects, one of which could be a bug: 1) Read a table with several columns from Postgres and the first column is Timestamp with timezone (this is OK). An extract is: raincida$ts: [2039] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC" [2041] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC" [2043] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC" [2045] "26/03/2000 04:00:00 UTC" "26/03...
2004 Aug 17
3
Fwd: strptime() problem?
..., but perhaps I wasn't clear enough in posting my questions. I've got a postgres database which I read into R. The first column is Timestamp with timezone, and my data are already in UTC format. An 'printed' extract of R character column, resulting from the timestamptz field is: raincida$ts: [2039] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC" [2041] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC" [2043] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC" [2045] "26/03/2000 04:00:00 UTC" "26/0...
2004 Aug 18
1
Fwd: strptime() problem? - Resolved
...es for some ideas, viz. page 32 of: > > http://cran.r-project.org/doc/Rnews/Rnews_2004-1.pd > > In particular, try converting them to chron and then doing > your manipulations in chron or else convert them from chron to > POSIXct: > > require(chron) > r.asc <- raincida$ts > r.chron <- chron(substring(r.asc, 1, 10), > substring(r.asc, 12, 19), format = c("d/m/y", "h:m:s")) > > r.ct <- as.POSIXct(r.chron) > format(r.ct, tz="GMT") # display POSIXct in GMT > > Date: Tue, 17 Aug 2004 1...