A cpm object is the primary result returned by cpm().
Structure
A cpm object is a list with the following elements:
callMatched call used for the CPM run.
specThe originating CPM specification object.
settingsRuntime settings used for the CPM run, including missing-data handling, edge-storage preferences, and any nested tuning settings.
predictionsData frame of observation-level predictions with fold IDs and one column per configured prediction stream.
edgesStored edge output based on
return_edges(NULL/matrix/array).foldsList of outer assessment-row indices for each fold.
tuningCandidate-level inner-fold scores and the selected level for each outer fold, or
NULLfor fixed-specification runs.