Estimates Mean of Image from FSL

fslmean(img, nonzero = FALSE, verbose = TRUE, ts = FALSE)

Arguments

img

Object of class nifti, or path of file

nonzero

(logical) Should the statistic be taken over non-zero voxels

verbose

(logical) print out command before running

ts

(logical) is the series a timeseries (4D), invoking -t option

Value

Vector of unless ts option invoked, then matrix

Note

This uses option -m or -M in fslstats