[R-sig-Finance] new version of zoo

Achim Zeileis Achim.Zeileis at wu-wien.ac.at
Tue Jun 6 23:47:10 CEST 2006


Dear finance useRs,

as you have probably seen, I've just posted an announcement of the new
version 1.1-0 of the zoo package. As it is of increased interest for
this list, I would like to elaborate a bit on the two changes in the
new version:

  - The package now has a NAMESPACE, most S3 methods are not exported
    explicitely anymore, i.e., they should not be called directly
    anymore. The benefit is that some confusion can be avoided as in
    the post of Michael Cohen, where an `index' object in the global
    environment shadowed the index() function of zoo. 
    If you need some methods/functions to be exported explicitely for
    your application or package, please let us know and we'll try to
    resolve this.

  - read.zoo() does not try to produce regular series by default
    anymore. This could lead to undesired behaviour if you read in
    a daily financial series with "Date" index which was typically
    coerced to a regular "zooreg" series with deltat = 1 day.
    If this series contains observations on trading days only, the
    following problem could occur: If you compute returns as
      diff(log(x))
    then an irregular series will compare Mondays and Fridays whereas
    a regular series will try to compare Mondays and Sundays and hence
    typically lead to much more missing values. 
    The first example in the "zoo-quickref" vignette did the latter,
    although the former would have been more appropriate. This has now
    been fixed.

Feedback and suggestions are - as always - welcome.

Best wishes,
Z



More information about the R-SIG-Finance mailing list