Skip to contents

Returns a programmatic digest of an scmResult object (from getSCMResults). Combines scenario metadata from $scenarioInfo with a header-level digest of the embedded $fitmodelOutput. Unlike print.scmResult, the digest does not include the reconstructed model – the returned object is intended to be consumed programmatically.

Usage

# S3 method for class 'scmResult'
summary(object, ...)

Arguments

object

A scmResult object.

...

Unused.

Value

An object of class c("summary.scmResult", "list") with elements:

scenario

Scenario label.

status

Scenario status string (when available).

criteria

Named numeric vector with available -2LL / AIC / BIC values from $scenarioInfo.

fitmodelOutput

Header-level digest of the embedded fit (engine, return code, nSubj, nObs, logLik, -2LL, plus a nested runContext with method/runMode/elapsed/RsNLMEVersion). NULL when $fitmodelOutput is not self-describing – older archives or stub fixtures.

diagnostics

Named list with files (engine error/log lines) and missing (absent dmp.txt / final.mdl) when status is not SUCCESS; NULL otherwise.