SimInf_abc object to a data.frameConvert the results of an Approximate Bayesian Computation (ABC)
analysis into a single data.frame. This function extracts
the particle parameters, their acceptance weights, and the
generation number for every particle across all generations.
# S3 method for SimInf_abc
as.data.frame(x, ...)A data.frame containing all particles from all
generations.
A SimInf_abc object.
Additional arguments (currently ignored).
The resulting data.frame has one row per particle. The
columns include:
generation: The generation number (integer).
weight: The normalized weight of the particle
(numeric).
Parameter columns: One column for each parameter
estimated in the ABC analysis (e.g., beta,
gamma, sigma). The column names match the
parameter names defined in the priors.
abc for running the ABC analysis,
SimInf_abc for the class definition, and
continue_abc for continuing an existing ABC run.