vector_rsa_model: Create a vectorized RSA model

View source: R/vector_rsa_model.R

vector_rsa_modelR Documentation

Create a vectorized RSA model

Description

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

Details

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

Value

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


bbuchsbaum/rMVPA documentation built on April 28, 2024, 6:30 a.m.