Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

na_locf

Last Observation Carried Forward


Description

Last Observation Carried Forward

Usage

na_locf(x, na = NA)

Arguments

x

list or vector to roll through

na

leading NA substitution


QuantTools

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.