View source: R/textTable_util.bare.R
fill_NA_idx | R Documentation |
Indices to impute NA elements of a vector by the last-observation-carried-forward method. This is an internal function, not intended to be called by package users.
fill_NA_idx(y)
y |
A vector. |
A vector of indices with the same length as y
. If x <-
y[fill_NA_idx(y)]
, then x
will be y
with NA values imputed
by the last-observation-carried-forward method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.