Map a function over subjects in an fmri_group
Arguments
- gd
An
fmri_group.- .f
A function with signature
function(row, ...)whererowis a one-rowdata.framecorresponding to a single subject.- ...
Additional arguments passed through to
.f.- out
Either "list" (default) or "bind_rows" describing how to collect outputs.
- order_by
Optional column name used to define iteration order.
- on_error
One of "stop", "warn", or "skip" describing how to handle errors raised by
.f.