Lagged1d-class | R Documentation |
Class Lagged1d.
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.
data
:Object of class "vector"
.
Class "Lagged"
, directly.
signature(x = "Lagged1d", i = "numeric")
: ...
signature(x = "Lagged1d", i = "numeric", j = "ANY", drop = "ANY")
: ...
signature(object = "Lagged1d")
: ...
signature(x = "Lagged1d", y = "missing")
: ...
Georgi N. Boshnakov
Lagged
,
Lagged2d
,
Lagged3d
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]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.