From juan_sr at uol.com.br  Wed Nov  3 23:11:00 2004
From: juan_sr at uol.com.br (juan_sr@uol.com.br)
Date: Thu Nov  4 02:10:48 2004
Subject: [Rd] error in chron object library
Message-ID: <1099519859.2847.35.camel@localhost.localdomain>



Times series of rain and discharge in hydrologic - stations has above 95
years of daily records.
In the temporal series over "serie" dataframe, using chron's object:

> library(chron)                          # load chron library 

> length(serie$data)
[1] 27182

> serie$data[length(serie$data)]
[1] (85-12-31 00:00:00)                   # 1985-dez-31 00:00:00hs

> serie$data[1]
[1] (11-08-01 00:00:00)                   # 1911-aug-01 00:00:00hs

> serie$data[length(serie$data)] -serie$data[1]  # error, correct value
is: 27181

which are the solution?

Juan S. Ramseyer


[Rd] error in chron object library
juan_sr@uol.com.br