This function is used to compute the mean, standard deviation, sum, or variance of every vertex in a set of vertex files.

vertexMean(filenames)

vertexSum(filenames)

vertexVar(filenames)

vertexSd(filenames)

Arguments

filenames

Filenames of the vertex volumes across which to create the descriptive statistic.

Value

out

The output will be a single vector containing as many elements as there are vertices in the input files.

Functions

  • vertexMean: mean

  • vertexSum: sum

  • vertexVar: var

  • vertexSd: standard deviation

See also

vertexLm

Examples

# NOT RUN { # read the text file describing the dataset gf <- read.csv("control-file.csv") # compute the mean at every voxel of all files. means <- vertexMean(gf$filenames) # }