Presentation table for SCM search results
scmSearchTable.RdReturns a plain data.frame for an scmSearchResult (or an
archived run folder), shaped for a table formatter. Default
print() / summary() output stays compact.
Arguments
- x
An
scmSearchResultfromstepwiseSearchorshotgunSearch, or a path to an archived run folder.- full
Logical. Include the degrees-of-freedom column (
df, stepwise only). DefaultFALSE.
Details
Stepwise reads StepwiseDetails.csv. Chosen
becomes "Y" / "N", and the value columns are named from
the Criteria column (Base -2LL, New AIC, ...);
mixed or missing criteria keep the engine names BaseValue /
NewValue / dValue. Model is the effect tested in
that row (see Details).
Shotgun reads the archived scenario index merged with
Overall.csv, exposing CovEffects (the enabled fixed
effects) next to the fit criteria.
Certara.RsNLME does not import a table formatter; pass the
result to one, e.g. flextable::flextable(tab).
For an archived result the table comes from the archive files, so
subsetting x first does not reduce the rows.
CovEffects in StepwiseDetails.csv is the cumulative
enabled set for a candidate, not the single effect under test, so
Model is recovered as a set difference within each Step:
the step's base set is the intersection of its candidates when adding
and their union when deleting. Steps with a single candidate or an
unrecognised direction keep the full CovEffects string.