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)

Arguments

lesmat

matrix of voxels

behavior

vector of behavior

Value

Returned list with:

  • statistic statistical values

  • dof degrees of freedom

Examples

set.seed(123) lesmat = matrix(rbinom(200,1,0.5), ncol=2) set.seed(123) behavior = rnorm(100) result = BM(lesmat, behavior)