Learn R Programming

BalanceCheck (version 0.2)

getR1R2: Get intermediate results for CrossMST

Description

This function calculates R1 and R2 for the CrossMST test.

Usage

getR1R2(E,treated.index)

Arguments

E

A matrix with the number of rows the number of edges in the MST and 2 columns. Each row records the subject indices of the two ends of an edge in the MST.

treated.index

The subject indices of the treated subjects.

See Also

CrossMST