BM: Slow R-based Brunner-Munzel tests

Description Usage Arguments Value Author(s) Examples

View source: R/BM.R

Description

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.

Usage

1
BM(lesmat, behavior)

Arguments

lesmat

matrix of voxels

behavior

vector of behavior

Value

Returned list with:

Author(s)

Dorian Pustina

Examples

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

neuroconductor/LESYMAP documentation built on May 28, 2020, 7:27 p.m.