This is somewhat an issue for smooth_quantile_reg, which has multiple target dates/aheads. Specifically in layer_add_target_date, though likely we would also need to modify pivot_quantiles_wider to also pivot the target_date if needed.
Snippet that goes ~50% of the way to solving this when replacing the end of slather.layer_add_target_date
This is somewhat an issue for
smooth_quantile_reg
, which has multiple target dates/aheads. Specifically inlayer_add_target_date
, though likely we would also need to modifypivot_quantiles_wider
to also pivot thetarget_date
if needed.Snippet that goes ~50% of the way to solving this when replacing the end of
slather.layer_add_target_date