| filldown | R Documentation |
Fill missing values in selected columns using the last observed value.
filldown(data, cols, by = NULL)
data |
A data frame or data table. |
cols |
Character vector of columns to fill. |
by |
Optional grouping columns. |
A basetable with missing values filled downward.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.