Learn R Programming

BlockwiseRankTest (version 0.1.0)

BRISE_c.stat: Block-wise Statistic (Congregated Form)

Description

For the contrast version of BRISE (“con”), computes within-sample sums of the rank matrix R (i.e. Ux, Uy) over all observations in X and Y, for congregated BRISE test.

Usage

BRISE_c.stat(R, sample1ID, sample2ID)

Value

Numeric vector c(Ux, Uy), the within-sample rank sums for the two samples.

Arguments

R

Numeric symmetric rank matrix with zero diagonal.

sample1ID

Integer vector of indices for X.

sample2ID

Integer vector of indices for Y.