Skip to contents

This function integrates a vector_rsa_design and an mvpa_dataset 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

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".

Value

A vector_rsa_model object (S3 class) containing references to the dataset, design, and function parameters.

Details

The model references the already-precomputed cross-block data from the design.