Skip to contents

Compute randomization metrics through the optional native backend

Usage

compute_randomization_metrics_gpu(W, device = 0)

Arguments

W

An r x n integer matrix of design vectors (1/0).

device

Zero-based device id. -1 for native C++.

Value

An n x n matrix of same-group probabilities.