fill_forward {dateutils} | R Documentation |
Fill Forward
Description
Fill missing observations forward using the last finite observation
Usage
fill_forward(x)
Arguments
x |
Transition matrix from a VAR model |
Value
x with missing obs filled by forward value
Examples
fill_forward(c(1,2,NA,NA,3,NA,5)) ## 1 2 2 2 3 3 5
[Package dateutils version 0.1.5 Index]