Structured summary of SCM search results
summary.scmSearchResult.RdReturns a programmatic digest of an scmSearchResult object
(from shotgunSearch or stepwiseSearch).
Run-context fields recorded as attributes – resolved estimation
method (from params@method), runMode, wall-clock
runTime$elapsed, and RsNLMEVersion – are surfaced
alongside the scenario inventory. Older archives that lack any of
these attributes silently omit the corresponding fields.
Usage
# S3 method for class 'scmSearchResult'
summary(object, ...)Value
An object of class c("summary.scmSearchResult",
"list") with elements:
searchTypeOne of
"stepwise","shotgun", orNAwhen the type cannot be resolved.searchRunDirArchive folder path, or
NULLfor unarchived results.nScenariosNumber of scenarios evaluated.
nBest0Lor1L– whether a best scenario is recorded.nFailedCount of scenarios whose archive status is not
SUCCESS.nSucceededCount of scenarios whose archive status is
SUCCESS.bestScenarioA named list with the best scenario label, available
-2LL/AIC/BICcriteria, andstatuswhen the archive reports one. For a 1-row object with no recorded best, this is that row so a failed subset still carries its status.NULLwhen no scenario is recorded.topScenariosA data frame with all ranked scenarios (same ordering as
print.scmSearchResult), withbestandfailedlogical columns.scenarioIndexPath to
scenario_index.csvwhensearchRunDiris set; otherwiseNULL.runContextNamed list with
method,runMode,elapsed,RsNLMEVersion; absent slots are silently dropped.
Details
topScenarios contains every ranked scenario so the
digest stays lossless for programmatic consumers; display
truncation is the job of
print.summary.scmSearchResult via its own n
argument.