# Causal Graph Interface

## Documentation for package ‘caugi’ version 0.3.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

add_edges | Manipulate nodes and edges of a 'caugi'
add_nodes | Manipulate nodes and edges of a 'caugi'
adjustment_set | Compute an adjustment set
aid | Adjustment Identification Distance
all_backdoor_sets | Get all backdoor sets up to a certain size.
ancestors | Get ancestors of nodes in a 'caugi'
as_adjacency | Convert a caugi to an adjacency matrix
as_bnlearn | Convert a caugi to a bnlearn network
as_caugi | Convert to a 'caugi'
as_dagitty | Convert a caugi to a dagitty graph
as_igraph | Convert a caugi to an igraph object
build | Build the graph now
caugi | Create a 'caugi' from edge expressions.
caugi_registry | 'caugi' edge registry
caugi_verbs | Manipulate nodes and edges of a 'caugi'
children | Get children of nodes in a 'caugi'
descendants | Get descendants of nodes in a 'caugi'
d_separated | Are X and Y d-separated given Z?
E | Get edges of a 'caugi'.
edges | Get edges of a 'caugi'.
edge_types | Get the edge types of a 'caugi'.
exogenous | Get all exogenous nodes in a 'caugi'
generate_graph | Generate a 'caugi' using Erdős-Rényi.
hd | Hamming Distance
is_acyclic | Is the 'caugi' acyclic?
is_caugi | Is it a 'caugi' graph?
is_cpdag | Is the 'caugi' graph a CPDAG?
is_dag | Is the 'caugi' graph a DAG?
is_empty_caugi | Is the 'caugi' graph empty?
is_pdag | Is the 'caugi' graph a PDAG?
is_ug | Is the 'caugi' graph an UG?
is_valid_backdoor | Is a backdoor set valid?
length | Length of a 'caugi'
markov_blanket | Get Markov blanket of nodes in a 'caugi'
moralize | Moralize a DAG
mutate_caugi | Mutate 'caugi' class
neighbors | Get neighbors of nodes in a 'caugi'
neighbours | Get neighbors of nodes in a 'caugi'
nodes | Get nodes or edges of a 'caugi'
parents | Get parents of nodes in a 'caugi'
print | Print a 'caugi'
register_caugi_edge | Register a new edge type in the global registry.
registry | 'caugi' edge registry
remove_edges | Manipulate nodes and edges of a 'caugi'
remove_nodes | Manipulate nodes and edges of a 'caugi'
reset_caugi_registry | 'caugi' edge registry
same_nodes | Same nodes?
seal_caugi_registry | 'caugi' edge registry
set_edges | Manipulate nodes and edges of a 'caugi'
shd | Structural Hamming Distance
skeleton | Get the skeleton of a graph
subgraph | Get the induced subgraph
V | Get nodes or edges of a 'caugi'
vertices | Get nodes or edges of a 'caugi'