# Non-TNA network
mat <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
net <- as_cograph(mat)
is_tna_network(net) # FALSE
if (FALSE) { # requireNamespace("tna", quietly = TRUE)
model <- tna::tna(tna::group_regulation)
net_tna <- as_cograph(model)
is_tna_network(net_tna) # TRUE
}
Run the code above in your browser using DataLab