View source: R/optim_helper_functions.R
Checks if front of list is NA, then replaces it with the most recent value which is not NA.
1 | carryForwardNA(thelist)
|
thelist |
the list to check for NA head |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.