zero_one_dist {causalBatch}R Documentation

A utility to compute the zero-one distances for a treatment vector.

Description

A utility to compute the zero-one distances for a treatment vector.

Usage

zero_one_dist(Ts)

Arguments

Ts

[n] the labels of the samples, with K < n levels, as a factor variable.

Value

[n, n] the pairwise zero-one distance matrix.

Author(s)

Eric W. Bridgeford


[Package causalBatch version 1.2.0 Index]