MetaRVM 2.1.0
CRAN release: 2026-03-26
Added
simulation_mode(deterministic/stochastic) andnrepsupport in configuration parsing and run metadata.Improved stochastic reproducibility: provided
random_seedis honored, and a seed is generated/stored when missing.Updated stochastic transition splitting to use binomial draws for integer compartment flows (
n_EIpresymp,n_IsympH,n_HR).Improved metapopulation infection-flow indexing consistency for destination- specific force of infection in
n_SE_effandn_VE_eff.Added bounded vaccination and transition safeguards to reduce overdraw risks (for example, capping applied vaccination by available susceptible count and guarding zero effective population in force-of-infection calculations).
Added integer row allocation for stochastic mixing flows (
SandV) using floor-plus-residual adjustment so row totals are conserved.Added regression tests for stochastic seed behavior,
nsim * nrepinstance counts, and row-allocation conservation checks forS/Vmixing.-
Enhanced results helper APIs:
-
MetaRVMResults$plot()now provides direct trajectory plotting before summarization. -
MetaRVMSummary$plot()now supports instance-trajectory plotting. -
summarize()uses a more efficient single-pass grouped aggregation.
-
MetaRVM 2.0.0
CRAN release: 2026-03-19
Subpopulation categories are now user-defined from
population_data$initialization; non-reserved columns are detected automatically.Improved checkpoint restore behavior in
parse_config(): whenrestore_fromis provided,population_data$initializationcan be used as mapping-only metadata (withoutN,S0,I0, etc.).Improved validation messages for category filters: invalid category names now list available categories, and invalid category values now list valid values for the selected category.
Improved
format_metarvm_output()handling ofpopulation_idand dynamic column selection for user-defined categories.Updated documentation and vignettes to reflect user-defined subpopulation categories and checkpoint restore behavior.
