Improvements to particle filter data (nested)
Closed this issue · 0 comments
richfitz commented
- save the 'population' column as an attribute
- provide accessor functions to access matrix of steps and times (filtering against population as needed)
- tidy up duplication and complication for nested code
This should eliminate all uses of data[[paste0(time_variable, "_start")]]
etc