See below reprex. step_population_scaling seems like it works, but layer_population_scaling has issues.
Cause is either
just epi_keys_only(components$predictions) without an other_keys = argument
the fact that components$predictions is not an epi_df --- this may actually be an epiprocess bug
The documentation may not match the intention of the implementation; I think it says by = NULL selects all overlapping columns, rather than talking about epikeys in particular.
See below reprex.
step_population_scaling
seems like it works, butlayer_population_scaling
has issues.Cause is either
epi_keys_only(components$predictions)
without another_keys =
argumentcomponents$predictions
is not anepi_df
--- this may actually be anepiprocess
bugThe documentation may not match the intention of the implementation; I think it says
by = NULL
selects all overlapping columns, rather than talking about epikeys in particular.Created on 2024-10-09 with reprex v2.1.1