Up to [cvs.NetBSD.org] / pkgsrc / math / R-zoo
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 1 12:38:02 2023 UTC (10 months, 2 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
HEAD
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
(math/R-zoo) Updated 1.8.11 to 1.8.12 Changes in Version 1.8-12 o The autoplot() method for "zoo" objects now uses ggplot() directly rather than the qplot() function which has been deprecated in recent versions of ggplot2. o Support start = NA and end = NA in addition to start = NULL and end = NULL for unspecified start and end time of a window() of a zoo series. o Remove unnecessary S3 method declarations for axis.yearmon/yearqtr as axis() is no S3 generic, only Axis() is (reported by Kurt Hornik). o The helper function index2char() now calls format() instead of as.character() for objects inheriting from class POSIXt.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 18 12:57:14 2022 UTC (16 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
(math/R-zoo) Updated 1.8.10 to 1.8.11 Changes in Version 1.8-11 o The as.ts() methods for both "zoo" and "zooreg" objects now allow to pass on the fill argument (through ...) to the underlying merge() call. Thus, you can say as.ts(z, fill = 0) to fill potential gaps with 0s instead of NAs. o The na.spline() method for "ts" objects had been provided internally in the package but has only been correctly registered in the NAMESPACE now. o The merge() method gained a sep = "." argument to optionally use a different separator character when making pasting suffixes to column names for making them unique (suggested by Joshua Ulrich). o The MATCH() methods for Date/POSIXct/POSIXlt object now coerce the "table" argument (if necessary) to Date or POSIXct, respectively, before calling match(unclass(x), unclass(table), ...) internally. o In case of a Date/POSIXct/POSIXlt "table" and a plain atomic argument "x", the default MATCH() method coerces "x" to Date or POSIXct, respectively, before calling match(unclass(x), unclass(table), ...) internally. o As the "fts" package has been archived on CRAN for several months, it has been excluded from the Suggests of the package. The as.zoo() method for "fts" objects continues to be part of the package, though, just the hyperlinks in the documentation have been removed.
Revision 1.17 / (download) - annotate - [select for diffs], Mon May 23 11:48:04 2022 UTC (22 months, 3 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2
Changes since 1.16: +10 -8
lines
Diff to previous 1.16 (colored)
(math/R-zoo) Updated 1.8.9 to 1.8.10 Changes in Version 1.8-10 o The transform() method now internally uses a list of zoo series (as opposed to a data.frame of numeric variables, as used in previous versions). This means that the transformations can really operate on full zoo series. o Added MATCH() methods for classes "Date", "POSIXct", and "POSIXlt", all of which essentially match the underlying numeric vector (suggested by Kurt Hornik). o In zooreg() the "ts.eps" argument is now also used (in squares) as the tolerance in the all.equal() comparisons used to determine the underlying regular time grid.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 6 15:08:56 2021 UTC (2 years, 10 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Changes since 1.15: +11 -2
lines
Diff to previous 1.15 (colored)
(math/R-zoo) Updated 1.8.6 to 1.8.9 Changes in Version 1.8-9 o Added a basic boxplot(x, ...) method for zoo objects that simply calls boxplot(coredata(x), ...). o Bug fix in [.zoo and [<-.zoo where indexing with matrices did not work correctly anymore in R 4.x.y because "matrix" objects now additionally inherit from "array" objects. (Reported by Bill Cunliffe.) o Improved internal functionality in na.spline.default() in the same way na.approx.default() was enhanced in zoo 1.7-14 and 1.7-13. One difference is that while na.approx() requires at least two non-NA observations, na.spline() just needs one non-NA observation (using a constant to interpolate in that case). o If the FUN in rollapply() returns a matrix or data.frame with more than one row per element/time point, then this is flattened now so that the result is again a matrix with one row per element/time point. o merge.zoo() now handles the case of all indexes being integer or numeric by coercing the integer indexes to numeric (reported by Simone Giannerini). o zooreg(x) now allows to create an integer index if start (and end, if any) are integer and the implied deltat is not numerically different from an integer value. Changes in Version 1.8-8 o diff.zoo(x, arithmetic = FALSE) now also works if x contains negative data. o merge.zoo() now handles the combination of Date and numeric indexes explicitly to work around the new behavior of c.Date() in R >= 4.1.0. Changes in Version 1.8-7 o Added scale_type() methods for yearmon/yearqtr to facilitate ggplot2 visualizations of zoo series with yearmon/yearqtr time index (suggested by Brian Diggs). This requires at least ggplot2 3.0.0. o In merge.zoo() "character" columns are now processed in the same way as "logical" columns. o Replaced the "fruitohms" example in the "zoo" vignette because the corresponding "DAAG" package is not actively maintained on CRAN anymore. Instead the "Journals" data from the "AER" package is used.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 8 19:53:55 2019 UTC (4 years, 8 months ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Changes since 1.14: +4 -6
lines
Diff to previous 1.14 (colored)
Update all R packages to canonical form. The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 31 20:40:30 2019 UTC (4 years, 8 months ago) by brook
Branch: MAIN
Changes since 1.13: +6 -5
lines
Diff to previous 1.13 (colored)
R-zoo: update to version 1.8.6. Update to the canonical form of an R package.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 30 12:19:26 2018 UTC (5 years, 7 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Update to 1.8.3
Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 28 14:40:51 2018 UTC (5 years, 8 months ago) by brook
Branch: MAIN
Changes since 1.11: +1 -2
lines
Diff to previous 1.11 (colored)
Remove MASTER_SITES= from individual R package Makefiles. Each R package should include ../../math/R/Makefile.extension, which also defines MASTER_SITES. Consequently, it is redundant for the individual packages to do the same. Package-specific definitions also prevent redefining MASTER_SITES in a single common place.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 3 01:15:17 2018 UTC (6 years, 2 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.10: +3 -2
lines
Diff to previous 1.10 (colored)
math/R-zoo: Update to 1.8.1 Changes: o New .DollarNames method (contributed by Josh Ulrich) to enable tab completion when using zoo_object$... o New default method for zoo::as.Date() that simply dispatches to base::as.Date(). o rollapply(x, k, FUN, align = "right") lead to an error if length(x) < k. This has been corrected to match the behavior of the other align types. o rollmean(), rollsum(), rollmedian(), and rollmax() no longer throw an error if the series is shorter than the window size. Instead rollapply() is called which either returns an empty series (if "fill" is not specified) or a padded series (if "fill" is specified, e.g., to NA). o read.zoo() now also handles "tbl" objects by coercing them to proper "data.frame"s first. Also gained a read = read.table argument to simplify convenience interfaces read.csv.zoo() etc. o The fortify() method gained a "names" argument so that the column names of the (melted) series can be modified.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 2 10:58:52 2017 UTC (6 years, 4 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Update to 1.8.0 Upstream changes: Changes in Version 1.8-0 o zoo() and zooreg() gained a calendar = getOption("zoo.calendar", TRUE) argument so that, by default, yearqtr and yearmon are used as the time index for regular zoo series with frequency 4 and 12, respectively. With calendar = FALSE the behavior from previous versions with plain unclassed time indexes can be obtained. Set options(zoo.calendar = FALSE) to always retain the old behavior. o na.locf() is made faster by using a diff()-based solution rather than cumsum() (suggested by Ruben Arslan). Also, the workhorse function na.locf0() underlying the default na.locf() method is now exported in the user interface as it is faster (but also supports less options). o Better support of vector-valued 'split' arguments in read.zoo(). o Special-cased rollmax(..., k = 1) to return the input coredata(). o as.character() for "yearqtr" objects did not process NA elements correctly.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 11 15:25:27 2017 UTC (7 years, 1 month ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
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.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 6 02:43:56 2016 UTC (7 years, 5 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
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.
Revision 1.7 / (download) - annotate - [select for diffs], Sat May 30 10:37:38 2015 UTC (8 years, 10 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
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.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 13 12:06:08 2014 UTC (9 years, 9 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
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.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 14 15:20:58 2014 UTC (10 years, 1 month ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Revert previous commit. (1.7.11 require R-3.0.3) Reported by: joerg@(Thanks !)
Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 9 13:54:38 2014 UTC (10 years, 1 month ago) by wen
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
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.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 7 09:23:30 2013 UTC (10 years, 9 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
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).
Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 29 08:09:54 2012 UTC (11 years, 4 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
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.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 15 17:10:18 2012 UTC (12 years ago) by brook
Branch: MAIN
Initial revision