Description Usage Arguments Value See Also

Uses a GLIM matrix and regresses the values at every vertex against the linear model. Any formula that is valid for lm is also valid here.

1 | ```
mni.vertex.statistics(glim.matrix, statistics.model, vertex.table=FALSE)
``` |

`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. |

Returns a list, each row corresponding to a vertex. There are columns corresponding to all the major statistical terms, such as the adjusted R squared, the fstatistics, etc. This list is usually fed into mni.write.vertex.stats for output to file.

`mni.read.glim.file`

.
`mni.build.data.table`

.
`mni.mean.statistics`

.
`mni.write.vertex.stats`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.