Skip to contents

By default, RSA models do not produce a full prediction table (set return_predictions = FALSE).

Usage

# S3 method for class 'rsa_model'
run_regional(
  model_spec,
  region_mask,
  return_fits = FALSE,
  compute_performance = TRUE,
  coalesce_design_vars = FALSE,
  ...
)

Arguments

model_spec

An rsa_model object.

region_mask

A mask for the brain regions.

return_fits

Whether to return each region's fitted model (default FALSE).

compute_performance

logical indicating whether to compute performance metrics.

coalesce_design_vars

If TRUE, merges design variables into the prediction table (though we typically don't have one for RSA).

...

Additional arguments passed to run_regional_base.