Internal utility function that combines trials and tests data, aggregates multiple repetitions (trials) per test, and pivots to wide format where each metric-limb-test combination becomes a separate column.
transform_to_wide(trials, tests, aggregate_fun = mean)Wide-format data frame with one row per test.
Data frame. Trial-level data from fetch_vald_batch()$trials.
Data frame. Test-level data from fetch_vald_batch()$tests.
Function to use for aggregating trials. Default is mean.
Transform Trials and Tests to Wide Format