| leadvalue | R Documentation |
Lead a vector
leadvalue(x, n = 1L, default = NA)
x |
An atomic vector. |
n |
Integer count. |
default |
Value used to fill positions with no leading observation. |
x shifted backward by n positions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.