Convert to an adjacency matrix
as_adj_matrix(x, ...)# S3 method for parentslist
as_adj_matrix(x, ...)
# S3 method for ceg
as_adj_matrix(x, ignore = x$name_unobserved, endnode = TRUE, ...)
the equivalent adjacency matrix
for as_adj_matrix.ceg
: the adj matrix corresponding to the CEG.
an R object
additional parameters
list of stages to be ignored.
logical value. If TRUE
a final node fil be added.