Changelog
Source:NEWS.md
lagged 0.3-1 (CRAN)
CRAN release: 2021-12-05
made sure that
Lagged
checks early if the argument inherits from"acf"
. This fixes errors in R-devel checks of lagged (R-devel from 2021-12-03 or earlier), since nowis.vector
gives TRUE for objects from S3 class"acf"
, while previously it returned FALSE.removed travis settings.
improved handling of
"[["
forLagged2d
objects.for
Lagged2d
objects, added “[” methods for characteri
.
lagged 0.2-2
added the missing
show()
method forLagged2d
objects.added
[[
method forslMatrix
objects.new
as()
method to convertmatrix
toslMatrix
.the initialisation method for
FlexibleLagged
now matches argumentdata
only if it is named, i.e. when explicitly supplied. This puts it in line with the default initialisation methods and, in particular, makes it easier to initialise subclasses ofFlexibleLagged
.set a prototype,
new("Lagged1d")
, for the data slot ofFlexibleLagged
. The default prototype was giving invalid objects in some cases, e.g.new("FlexibleLagged")
.added
"maxLag<-"
method forFlexibleLagged
objects.the “[[” and “[” methods for
FlexibleLagged
were not completely in line with the other Lagged classes (and the documentation) for index of length one.for “Lagged2d” objects indexing with two indices is now defined and works naturally in a matrix-like way: the first index,
i
, takes values in1:d
, whered
is the number of seasons and the second index,j
, in0:maxlag
. As for matrices, an empty index designates the whole range in the corresponding extent.
lagged 0.2-1
CRAN release: 2019-04-05
Bug-fix:
nSeasons()
andnSeasons<-()
are now exported.new functions
sl2acfbase()
,acfbase2sl()
andsl2vecacf()
for converting between (multivariate) autocovariances returned bystats::acf()
and season-lag representation. (These functions were formerly in package pcts.)The title of the vignette and the keywords were wrong.
added the pkgdown site to DESCRIPTION.
lagged 0.2-0 (CRAN)
CRAN release: 2018-08-20
New generics
nSeasons()
andnSeasons<-()
(moved here from package sarima).New
slMatrix
function and class (moved from package pcts).Numerous changes to the documentation.
lagged 0.1-2
Lagged classes now have methods for “Maths” group generic.
Lagged classes now have methods for “Summary” group generic.
Lagged classes now have methods for “Ops” unary operators (binary Ops were already available).
New vignette
Guide_lagged
(first draft).New function
maxLag<-()
with methods for Lagged objects.
lagged 0.1-1 (CRAN)
CRAN release: 2017-10-15
- New function
dataWithLagNames()
, mainly for programming.