Create a vectorized RSA model
vector_rsa_model.RdThis function integrates a vector_rsa_design and an mvpa_dataset to create a vectorized RSA model.
Arguments
- dataset
An
mvpa_datasetobject.- design
A
vector_rsa_designobject.- distfun
A
distfun(distance function) for computing pairwise dissimilarities among image rows.- rsa_simfun
A character string specifying the similarity function to use for RSA, one of
"pearson"or"spearman".- nperm
Integer, number of permutations for statistical testing (default: 0).
- save_distributions
Logical, whether to save full permutation distributions (default: FALSE).
- return_predictions
Logical, whether to return per-observation similarity scores (default: FALSE).