Skip to content

annual maximum value

3 messages · CJ Rubio, Gabor Grothendieck

#
Try this:
+ 10/2/1989,2460
+ 10/3/1989,2890
+ 12/31/2005,5730")
1989 2005
2890 5730

See ?read.zoo, ?aggregate.zoo, ?as.yearmon, the 3 vignettes in the
zoo package and R News 4/1.
On Mon, Feb 16, 2009 at 10:11 PM, CJ Rubio <cjrubio at kongju.ac.kr> wrote:
#
thank you very much for your reply.

i studied the code you gave me and tried to make adjustments to fit the
requirements that i need, thank you again.. i used the following codes:
i got the maximum values right using coredata(), my question now is, how can
i call for the complete date (yyyy-mm-dd)  and the year (yyyy) when the
maximum observation for that year was observed?
CJ Rubio wrote: