mrc-ide/mcstate

Improvements to particle filter data (nested)

Closed this issue · 0 comments

  • 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