View source: R/functions_graph.R
out_clique_decomposition_greedy | R Documentation |
Outputs a biclique decomposition of the null-exposure graph using the greedy algorithm proposed above. The resulting decomposition paritions the assignment space, while the unit space may overlap.
out_clique_decomposition_greedy(NEgraph, Zobs_id, num_ass, stop_at_Zobs)
NEgraph |
The null-exposure graph |
Zobs_id |
The index location of the observed assignment vector in |
num_ass |
Controls the minimum number of focal assignments in the biclique found by the algorithm (algorithm runtime is sensitive to this value). |
stop_at_Zobs |
A Boolean indicating whether the decomposition algorithm should stop when the clique containing the observed assignment is found. |
If stop_at_Zobs
is TRUE
, a matrix representing the clique to condition upon.
If stop_at_Zobs
is FALSE
, a list containing the clique decomposition of the null-exposure graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.