Learn R Programming

fslr (version 1.9.2.1)

fslmean: Image Mean

Description

Estimates Mean of Image from FSL

Usage

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