BM | R Documentation |
Takes a binary matrix of voxels and a vector of behavior and runs Brunner-Munzel tests on each voxel. This function is not compiled and is slow.
BM(lesmat, behavior)
lesmat |
matrix of voxels |
behavior |
vector of behavior |
Returned list with:
statistic
statistical values
dof
degrees of freedom
Dorian Pustina
set.seed(123)
lesmat = matrix(rbinom(200,1,0.5), ncol=2)
set.seed(123)
behavior = rnorm(100)
result = BM(lesmat, behavior)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.