Skip to contents

Class Lagged2d.

Objects from the Class

Objects can be created by calls of the form Lagged(m) or new("Lagged2d", data = m), where m is a matrix. new("Lagged2d", ...) also works.

Slots

data:

Object of class "matrix" ~~

Extends

Class "Lagged", directly.

Methods

[

signature(x = "Lagged2d", i = "numeric", j = "missing", drop = "logical"): ...

[

signature(x = "Lagged2d", i = "numeric", j = "missing", drop = "missing"): ...

[<-

signature(x = "Lagged2d", i = "numeric"): ...

show

signature(object = "Lagged2d"): ...

whichLagged

signature(x = "Lagged2d", y = "missing"): ...

Author

Georgi N. Boshnakov

See also

Examples

powers <- Lagged(outer(1:6, 0:6, `^`))
powers[[0]]
#> [1] 1 1 1 1 1 1
powers[[1]]
#> [1] 1 2 3 4 5 6
powers[[2]]
#> [1]  1  4  9 16 25 36