mni.vertex.mixed.model {mni.cortical.statistics}R Documentation

Per vertex mixed model regression

Description

Runs a mixed model regression at every vertex.

Usage

vs <- mni.vertex.mixed.model(glim.matrix, fixed.effect, random.effect, vertex.table=FALSE)

Arguments

glim.matrix

The design matrix as specified by mni.read.glim.file

fixed.effect

The fixed effect part of the formula

random.effect

The random effects part of the formula

vertex.table

The data table as created by mni.build.data.table

Details

Runs a linear mixed effect model at each vertex. The two formula specifications are the same as in lme, so that is a good place to get some more in depth guidance.

Value

A list with the same number of rows as vertices in the data table containing the value, standard error, and t-statistic.

Author(s)

Jason Lerch

See Also

mni.vertex.statistics lme


[Package mni.cortical.statistics version 0.9.4 Index]