Skip to contents

Carries the last (or next) non-`NA` value forward (or backward) within each group.

Usage

fill_extrapolate(x, group_var = NULL, not = NULL, dir = "down")

Arguments

x

An intervention implementation data.frame

group_var

Character vector of grouping (site) columns

not

Character vector of columns *not* to fill

dir

Direction ("down" or "up")