Fits a log-linear trend log(value) ~ t on a calibration window and
projects it for rows on/after start_date. Designed for use inside
dplyr verbs (no need to pass .).
logLinearProjection(
date,
value,
start_date,
end_date,
group = NULL,
data = NULL
)A numeric vector projection aligned to the input rows; NA
before start_date. Respects grouping if group is supplied.
Bare column name for the date variable (coercible to Date).
Bare column name for the positive numeric series to project.
Date or string coercible to Date; start of calibration.
Date or string coercible to Date; end of calibration.
Optional bare column name to group by before projecting.
Optional data frame. If omitted, uses the current data mask
(e.g., inside mutate()) via dplyr::cur_data_all().