vec.lag | R Documentation |
simple positional lag of <x> by <y> periods
vec.lag(x, y)
x |
= a numeric vector |
y |
= an integer |
Other vec: vec.cat
, vec.count
,
vec.cum
, vec.diff
,
vec.ex.filters
, vec.first
,
vec.last
, vec.max
,
vec.min
, vec.named
,
vec.read
, vec.swap
,
vec.to.list
, vec.unique
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.