out_clique: Finding conditioned clique

View source: R/functions_graph.R

out_cliqueR Documentation

Finding conditioned clique

Description

Identifies the clique to condition on in the randomization test. Specifically, given the observed treatment and a biclique decomposition, it returns a submatrix of NEGraph that represents a biclique in the decomposition which contains the observed treatment.

Usage

out_clique(Zobs_id, decomp)

Arguments

Zobs_id

The index location of the observed assignment vector in Z, Z_a, and Z_b.

decomp

A list containing the clique decomposition of the null-exposure graph, given by one of the decomposition algorithms.

Value

The clique to condition on in the randomization test.


dpuelz/CliqueRT documentation built on Jan. 6, 2023, 11:20 p.m.