get_latency: the latency is also the amount the shift is off by

View source: R/utils-latency.R

get_latencyR Documentation

the latency is also the amount the shift is off by

Description

the latency is also the amount the shift is off by

Usage

get_latency(new_data, forecast_date, column, sign_shift, epi_keys_checked)

Arguments

sign_shift

integer. 1 if lag and -1 if ahead. These represent how you need to shift the data to bring the 3 day lagged value to today.


cmu-delphi/epipredict documentation built on March 5, 2025, 12:17 p.m.