gap_fill: gap_fill

Description Usage Arguments Value

View source: R/brf_level_shift.R

Description

gap_fill

Usage

1
2
3
gap_fill(x, gaps, recipe, dep_var = "wl", time_var = "datetime",
  time_interval = 1L, buffer_start = 86400 * 4, buffer_end = 86400 *
  4, max_interp = 86400 * 7, include_level_shift = TRUE)

Arguments

x

data.table of water levels

gaps

data.table of gaps

recipe

recipe to apply

dep_var

the time variable name (character)

time_var

the time variable name (character)

time_interval

the delta t (numeric)

buffer_start

how much buffer on each side of gap

buffer_end

how much buffer on each side of gap

max_interp

largest gap to interpolate

include_level_shift

include level shift in adjustment

Value

data.table of predictions


jkennel/waterlevel documentation built on Dec. 1, 2019, 6:24 p.m.