Commit graph

9 commits

Author SHA1 Message Date
wen
a4588db382 Update to 1.7.14
Upstream changes:
Changes in Version 1.7-14

  o Several convenience interfaces to read.zoo() have been added:
    read.table.zoo(), read.csv.zoo(), read.csv2.zoo(), read.delim.zoo(),
    read.delim2.zoo(). All of these first call the corresponding read.*()
    function to read the data from a text file (with the respective default
    settings) and subsequently call read.zoo() to turn the data into
    a zoo series.

  o na.approx.default() did not properly process the "maxgap" argument
    if y did not contain any NAs but NAs were only created implicitly
    by xout being different from x (pointed out by Stefan Metzger).
    A suitable fix has been added that merges x and xout first.

  o aggregate.zoo() and rollapply.zoo() gained the argument coredata=TRUE
    which can control whether only the coredata is passed to each subset
    (previous behavior) or the full zoo series.

  o The "its" package has been archived on CRAN and hence removed from
    the list of zoo's suggested packages. However, various methods for
    objects of class "its" continue to be available in zoo in case someone
    still uses the legacy code.
2017-03-11 15:25:27 +00:00
wen
da82abd5bd Update to 1.7.13
Upstream changes:
Changes in Version 1.7-13

  o The window() method erroneously dropped the dimension in case of
    1-column zoo series. Fixed now.

  o Bug fix in NA handling of rollmax() pointed out by Cory Fletcher.

  o A few as.yearmon/as.yearqtr methods were not registered in
    the NAMESPACE but are now.

  o If there are less then two non-NAs in na.approx() then approx()
    cannot be applied. Instead of throwing an error (as up to version
    1.7-12) simply no NAs are replaced now.

  o Bug fix for lag(z, k = k, na.pad = TRUE) which ignored na.pad = TRUE
    if 'k' was a vector of lags.
2016-11-06 02:43:56 +00:00
wen
fb244a04fa Update to 1.7.12
Upstream changes:
Changes in Version 1.7-12

  o read.zoo with a data.frame argument now defaults to FUN = identity
    if the index.column is not character or factor.  See ?read.zoo for
    additional details.

  o Added a dim<- method that checks whether the new dimension value
    appears to be ok and then calls the default.

  o The index<- and time<- methods now enforce that the new time index
    is actually correctly ordered (suggested by Joshua Ulrich).

  o read.zoo() heuristic improved so that POSIXct rather than Date is
    detected in cases like: read.zoo(text = "2010-01-01 12:05:03 88.1",
    index = 1:2).

  o The fortify() method now has a col.names argument that allows to set
    (some of) the column names of the resulting data.frame.

  o Various small bug fixes and enhancements.
2015-05-30 10:37:38 +00:00
wen
a994c14a6a Update to 1.7.11
Update LICENSE

Upstream changes:
Changes in Version 1.7-11

  o Extended the license from "GPL-2" to "GPL-2 | GPL-3".

  o Avoid duplications in Suggests/Imports/Depends in the package's
    DESCRIPTION. Use only :: instead of ::: to access certain functions
    from other namespaces.

  o Added as.list() methods for yearmon/yearqtr.

  o Added workaround in Ops.zoo if first argument is not a zoo series
    (prompted by Josh Ulrich).

  o The transform() method for zoo series now does what method for
    data.frame does (instead of just calling it) in order to get
    non-standard evaluation.
2014-07-13 12:06:08 +00:00
wen
8c2005ed97 Revert previous commit.
(1.7.11 require R-3.0.3)

Reported by: joerg@(Thanks !)
2014-03-14 15:20:58 +00:00
wen
8bee353ebf Update to 1.7.11
Upstream changes:
Changes in Version 1.7-11

  o Extended the license from "GPL-2" to "GPL-2 | GPL-3".

  o Avoid duplications in Suggests/Imports/Depends in the package's
    DESCRIPTION. Use only :: instead of ::: to access certain functions
    from other namespaces.

  o Added as.list() methods for yearmon/yearqtr.

  o Added workaround in Ops.zoo if first argument is not a zoo series
    (prompted by Josh Ulrich).

  o The transform() method for zoo series now does what method for
    data.frame does (instead of just calling it) in order to get
    non-standard evaluation.
2014-03-09 13:54:38 +00:00
wen
6c9611cbc3 Update to 1.7.10
Upstream changes:
Changes in Version 1.7-10

  o All methods that had previously been fully exported (merge.zoo,
    MATCH.default, ..., and many more) in order to be accessible to
    _all_ conceivable generics are now additionally registered as
    S3method()s for the standard generics. Exception: as.Date.* are
    still only fully exported.

  o Added a new mean() method for "zoo" objects that simply does
    mean(coredata(obj), ...).

  o Added yearmon_trans, scale_x_yearmon and scale_y_yearmon and
    yearqtr_trans, scale_x_yearqtr and scale_y_yearqtr to ggplot2 interface.

  o Removed the use of the shape and linetype aesthetic by default
    in autoplot() method.

  o Bug fix in na.fill for univariate series based on 1-column matrices
    (provided by Josh Ulrich).

  o Added [[ methods for "yearmon" and "yearqtr".

  o Constructs like time(obj)[ORDER(time(obj))] are now split up into
    two steps in the package code. If zoo is only imported but not
    loaded, R can otherwise have problems correctly dispatching to
    the new generics ORDER and MATCH.

  o as.Date() now also works for yearqtr/yearmon that are all NA
    (especially needed for format() and print() method).
2013-07-07 09:23:30 +00:00
wen
8e292493c0 Update to 1.7.9
Upstream changes:
Changes in Version 1.7-9

  o Added ggplot2 interface through autplot() and fortify() methods.  Also
    support function facet_free().


Changes in Version 1.7-8

  o Added rollsum.

  o Bugfix in src/lag.c for the case of k > NROW.
2012-11-29 08:09:54 +00:00
brook
a2c6e9de7d Import R-zoo v1.7-7.
An S3 class with methods for totally ordered indexed observations.  It
is particularly aimed at irregular time series of numeric
vectors/matrices and factors.  Zoo's key design goals are independence
of a particular index/date/time class and consistency with ts and base
R by providing methods to extend standard generics.
2012-04-15 17:10:18 +00:00