Wraps wb_command -cifti-average to compute the element-wise average
across multiple CIFTI files.
Usage
cifti_average(
cifti_out,
cifti_in,
weights = NULL,
verbose = get_wb_verbosity()
)Value
The result of the underlying wb_cmd() call.
Examples
if (FALSE) { # \dontrun{
cifti_average(
"group_mean.dscalar.nii",
c("subj01.dscalar.nii", "subj02.dscalar.nii", "subj03.dscalar.nii")
)
} # }