run_searchlight_base | R Documentation |
This function implements the generic logic for running a searchlight:
Checks radius
and method
.
For "standard" searchlight, calls do_standard(...)
.
For "randomized", calls do_randomized(...)
with niter
times.
Handles the combiner
function or string ("pool", "average").
run_searchlight_base(
model_spec,
radius = 8,
method = c("randomized", "standard"),
niter = 4,
combiner = "average",
...
)
model_spec |
A model specification object (e.g., |
radius |
Numeric searchlight radius (1 to 100). |
method |
Character: "standard" or "randomized". |
niter |
Number of iterations if |
combiner |
Either a function that combines partial results or a string ("pool", "average") that selects a built-in combiner. |
... |
Additional arguments passed on to |
It does not assume any specific model type, but expects that model_spec
is compatible with do_standard(...)
or do_randomized(...)
in your code.
The result object from do_standard
or do_randomized
(often a searchlight_result
or similar).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.