View source: R/fill_missing_rownumber.R
fill_missing_rownumber | R Documentation |
Impute missing values of a count variable. Imputation is done by counting from the last known value. Example: c(NA,4,NA,NA) then becomes c(NA,4,NA,NA).
fill_missing_rownumber(x)
x |
Integer vector. |
Integer vector with filled values.
fill_missing_rownumber(c(NA,4,NA,NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.