Named lists are matched by name; unnamed lists are matched by position.
Each pair is checked before concatenation, so unequal split or fold lengths
cannot silently shift observations. Missing pairs are removed together.
Usage
true_pred_data(x, y, group =NULL)
Arguments
x
Numeric vector, single-column matrix, or list: True observations.
y
Numeric vector, single-column matrix, or list: Predicted values.
group
Optional Atomic vector or single-column data frame: Groups for
vector inputs.
Value
Data frame with true, predicted, and optional sample columns.