
Summarize a population-level design forecast
Source:R/api-prediction.R
summary.mfrm_population_prediction.RdSummarize a population-level design forecast
Usage
# S3 method for class 'mfrm_population_prediction'
summary(object, digits = 3, ...)Arguments
- object
Output from
predict_mfrm_population().- digits
Number of digits used in numeric summaries.
- ...
Reserved for generic compatibility.
Value
An object of class summary.mfrm_population_prediction with:
design: requested future designoverview: run-level overviewforecast: facet-level forecast tablefacet_names: public non-person facet names used in the forecastdesign_variable_aliases: public aliases for design variablesdesign_descriptor: role-based description of design variablesplanning_scope: explicit record of the current planning contractplanning_constraints: explicit record of mutable/locked design variablesplanning_schema: structured planning metadatagpcm_boundary:GPCMcaveat row when presentstructural_design_review: deterministic structural review of the named-facet design grid; it is not a forecast-uncertainty resultademp: simulation-study metadatanotes: interpretation notes
Examples
# Supplementary workflow: run explicitly to keep routine checks brief.
# example("summary.mfrm_population_prediction", run.dontrun = TRUE)
if (FALSE) { # \dontrun{
# One saved replication illustrates output structure, not precise rates.
# Regeneration recipe: examples/simulation-results.R in the package.
saved <- readRDS(system.file("examples", "simulation-population.rds",
package = "mfrmr", mustWork = TRUE))
# Inspect saved$generation_warnings and the result's run/status tables.
pred <- saved$result
s <- summary(pred)
s$overview
s$forecast[, c("Facet", "MeanSeparation", "McseSeparation")]
} # }