NEWS.md
posterior S3 methods for epiaware_fit objects: as_draws_array(), as_draws_df(), as_draws_matrix(), as_draws_rvars(), and as_draws_list(). This enables direct integration with bayesplot and loo packages (#20)..generate_quantities() receives data explicitly rather than relying on implicit Julia globals (#27).@param and @return documentation to all internal helper functions (#26).Added Pathfinder initialisation for NUTS sampling, improving convergence for complex models.
Increased default target_acceptance to 0.9 for more robust sampling.
Plotting methods (plot.epiaware_fit()) now fully functional with Rt trajectories, case predictions, and posterior distributions - no longer placeholders.
Uses EpiAware’s generated_observables() for Rt and infections extraction, providing more reliable posterior summaries.
MCMC internal parameters (e.g., n_steps, step_size) now filtered from diagnostics output for cleaner summaries.
.julia_chains_to_draws() when DataFrames.jl is not available. The function now correctly uses Array(chains.value) to extract the 3D array (iterations × parameters × chains) instead of Array(chains) which only returns a 2D array. This resolves the “incorrect number of dimensions” error reported in #5. Thanks to @owenjonesuob for the diagnosis and suggested fix.Initial MVP release of EpiAwareR providing R interface to Julia-based EpiAware framework.
AR(): Autoregressive processes of arbitrary order for time-varying parametersepiaware_call()
Renewal(): Renewal equation with customizable generation time distributionNegativeBinomialError(): Overdispersed count observationsLatentDelay(): Reporting delay wrapper enabling hierarchical compositionEpiProblem(): Compose latent, infection, and observation models into complete epidemiological modelfit(): Fit models to data using MCMC samplingnuts_sampler(): Configure NUTS (No-U-Turn Sampler) for efficient inferencenorm(): Normal distributiontruncnorm(): Truncated normalhalfnorm(): Half-normalgamma_dist(): Gamma distributionlognorm(): Log-normal distributionexponential(): Exponential distributionepiaware_call() for accessing newer Julia featuresepiaware_setup_julia(): Automated Julia installation and configurationepiaware_available(): Check Julia/EpiAware availabilityepiaware_call())