merge_results.rsa_model: Merge Results for RSA Model

View source: R/rsa_model.R

merge_results.rsa_modelR Documentation

Merge Results for RSA Model

Description

This function takes the computed coefficients/correlations/t-values from train_model.rsa_model for a single ROI/searchlight and formats it into the standard output tibble.

Usage

## S3 method for class 'rsa_model'
merge_results(obj, result_set, indices, id, ...)

Arguments

obj

The RSA model specification.

result_set

A tibble containing the results from the processor function for the current ROI/sphere. Expected to have a $result column containing the named vector from train_model.rsa_model.

indices

Voxel indices for the current ROI/searchlight sphere.

id

Identifier for the current ROI/searchlight center.

...

Additional arguments (ignored).

Value

A tibble row with the formatted "performance" metrics (coefficients/t-values/correlations) for the ROI/sphere.


bbuchsbaum/rMVPA documentation built on June 10, 2025, 8:23 p.m.