BM: Slow R-based Brunner-Munzel tests

View source: R/BM.R

BMR Documentation

Slow R-based Brunner-Munzel tests

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

BM(lesmat, behavior)

Arguments

lesmat

matrix of voxels

behavior

vector of behavior

Value

Returned list with:

  • statistic statistical values

  • dof degrees of freedom

Author(s)

Dorian Pustina

Examples

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


dorianps/LESYMAP documentation built on June 1, 2024, 2:12 a.m.