Estimates Mean of Image from FSL
fslmean(img, nonzero = FALSE, verbose = TRUE, ts = FALSE)
Object of class nifti, or path of file
(logical) Should the statistic be taken over non-zero voxels
(logical) print out command before running
(logical) is the series a timeseries (4D), invoking -t
option
Vector of unless ts option invoked, then matrix
This uses option -m or -M in fslstats