mni.mean.statistics {mni.cortical.statistics}R Documentation

Run a linear model on the average of a series of cortical stats files

Description

Uses a GLIM matrix and regresses the average of each file listed in the first column against the model.Any formula that is valid for lm is also valid here.

Usage

mni.mean.statistics(glim.matrix, statistics.model, vertex.table=FALSE)

Arguments

glim.matrix The matrix to test against. Usually read using mni.read.glim.file.
statistics.model The model to test, where y takes the place of the independent variable. For example, 'y ~ Intercept + Group'
vertex.table A matrix containing the vertex data on which the analysis will be run. This matrix is best generated through mni.build.data.table. Alternately, the argument can be left as FALSE, in which case the vertex table will be built from the glim matrix specified as the first argument.

See Also

mni.read.glim.file. mni.build.data.table. mni.vertex.statistics. mni.write.vertex.stats.


[Package Contents]