Skip to contents

By default, if an object's class does not implement a specific run_searchlight.<class> method, this fallback will call run_searchlight_base.

Usage

# Default S3 method
run_searchlight(
  model_spec,
  radius = 8,
  method = c("randomized", "standard"),
  niter = 4,
  combiner = "average",
  ...
)

Arguments

model_spec

The generic model specification object.

radius

Numeric searchlight radius (1 to 100).

method

Character: "standard" or "randomized".

niter

Number of iterations if method="randomized".

combiner

Either a function that combines partial results or a string ("pool", "average") that selects a built-in combiner.

...

Additional arguments passed on to do_standard or do_randomized.