Lagged1d-class: Class Lagged1d

Lagged1d-classR Documentation

Class Lagged1d

Description

Class Lagged1d.

Objects from the Class

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

Slots

data:

Object of class "vector".

Extends

Class "Lagged", directly.

Methods

[<-

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

[

signature(x = "Lagged1d", i = "numeric", j = "ANY", drop = "ANY"): ...

show

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

whichLagged

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

Author(s)

Georgi N. Boshnakov

See Also

Lagged, Lagged2d, Lagged3d

Examples

v <- cos(2*pi*(0:10)/10)
new("Lagged1d", data = v) ## ok, but Lagged() is more convenient
x <- Lagged(v)
class(x) # Lagged1d
x
x[0]
x[0:3]

lagged documentation built on Aug. 7, 2022, 5:19 p.m.