fill_missing_rownumber {vvfiller}R Documentation

Fill missing rownumber

Description

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).

Usage

fill_missing_rownumber(x)

Arguments

x

Integer vector.

Value

Integer vector with filled values.

Examples

fill_missing_rownumber(c(NA,4,NA,NA))

[Package vvfiller version 0.6.7 Index]