View source: R/feature_rsa_model.R
evaluate_model.feature_rsa_model | R Documentation |
Computes correlation-based metrics (diag correlation, mean correlation, voxel correlation), MSE, R^2, and optionally performs permutation tests (via a helper function).
evaluate_model.feature_rsa_model(
object,
predicted,
observed,
nperm = 0,
save_distributions = FALSE,
...
)
object |
The feature RSA model |
predicted |
Matrix of predicted values (from feature space F to voxel space X) |
observed |
Matrix of observed values (actual voxel space X) |
nperm |
Number of permutations for statistical testing (default: 0, no permutation) |
save_distributions |
Logical indicating whether to save full permutation distributions |
... |
Additional arguments |
A list containing performance metrics and optional permutation results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.