do_randomized: Perform randomized searchlight analysis

do_randomizedR Documentation

Perform randomized searchlight analysis

Description

This function performs randomized searchlight analysis using a specified model, radius, and number of iterations. It can be customized with different MVPA functions, combiners, and permutation options.

Usage

do_randomized(
  model_spec,
  radius,
  niter,
  mvpa_fun = mvpa_iterate,
  combiner = pool_randomized,
  permute = FALSE,
  ...
)

Arguments

model_spec

An object specifying the model to be used in the searchlight analysis.

radius

The radius of the searchlight sphere.

niter

The number of iterations for randomized searchlight.

mvpa_fun

The MVPA function to be used in the searchlight analysis (default is mvpa_iterate).

combiner

The function to be used to combine results (default is pool_randomized).

permute

Whether to permute the labels (default is FALSE).

...

Additional arguments to be passed to the MVPA function.


bbuchsbaum/rMVPA documentation built on April 23, 2024, 7:35 a.m.