run_regional.rsa_model | R Documentation |
This function runs a regional RSA analysis using a specified RSA model and region mask. The analysis can be customized to return model fits and performance measures.
## S3 method for class 'rsa_model'
run_regional(
model_spec,
region_mask,
return_fits = FALSE,
compute_performance = TRUE,
regtype = c("pearson", "spearman", "lm", "rfit"),
distmethod = c("pearson", "spearman"),
coalesce_design_vars = FALSE,
...
)
model_spec |
An object of type |
region_mask |
A mask representing different regions in the brain image. |
return_fits |
Whether to return model fit for every ROI (default is |
compute_performance |
|
regtype |
The regression method ("pearson", "spearman", "lm", or "rfit"). |
distmethod |
The distance computing method ("pearson" or "spearman"). |
coalesce_design_vars |
Concatenate additional design variables with output stored in 'prediction_table'. |
... |
Additional arguments to be passed to the function. |
A list
of type regional_mvpa_result
containing a named list of NeuroVol
objects,
where each element contains a performance metric and is labeled according to the metric used (e.g. Accuracy, AUC).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.