Creates a cograph_network object from a cooccurrence
edge list, compatible with cograph::splot() and other cograph
functions.
Examples
res <- cooccurrence(list(c("A","B","C"), c("B","C"), c("A","C")))
if (requireNamespace("cograph", quietly = TRUE)) {
net <- as_cograph(res)
net$n_nodes
}
#> [1] 3
