| na_locf | R Documentation | 
Inspired by zoo::na.locf0
na_locf(object, fromLast = FALSE)
| object | an object | 
| fromLast | logical. Causes observations to be carried backward rather than forward. Default is FALSE. | 
Original object with NAs filled in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.