Skip to contents

This function integrates a vector_rsa_design and precomputes data to create a vectorized RSA model.

Usage

vector_rsa_model(
  dataset,
  design,
  distfun = cordist(),
  rsa_simfun = c("pearson", "spearman")
)

Arguments

dataset

An mvpa_dataset object.

design

A vector_rsa_design object.

distfun

an object of distfun type for computation of pairwise dissimilarities among image rows

rsa_simfun

a character string specifying the similarity function to use for RSA

Value

An object representing the RSA model, which includes both the design and precomputed data.

Details

Integrates RSA design and precomputed data to facilitate efficient RSA computations. It directly incorporates precomputations for cross-block comparisons.