out_NEgraph_multi: Generate the multi-null exposure graph.

View source: R/functions_graph.R

out_NEgraph_multiR Documentation

Generate the multi-null exposure graph.

Description

Generate the multi-null exposure graph.

Usage

out_NEgraph_multi(Zsub, Z0, Z, num_units, exposure_fn)

Arguments

Zsub

An integer from 1:length(Z0) that represents a sample from Z0.

Z0

A vector of column index that represents the remaining treatment. Please see Sec. 8 of the paper for more details.

Z

A matrix of dimension (num_units x num_randomizations+1) that records the randomizations of treatments for each unit.

num_units

Number of units in the experiment, equals to the length of the outcome vector.

exposure_fn

A function that specifies the equality of exposure of a pair of individuals under different randomization.

Value

A matrix of dimension (num_units x length(Z0)) which is the multi-null exposure graph with respect to Z0[Zsub] and Z0.


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