Return a boolean indicating whether the object belongs to class metanetwork
is.metanetwork(metanetwork)
# S3 method for metanetwork
is.metanetwork(metanetwork)
the object to test
a boolean indicating whether the object belongs to class metanetwork
NULL
library(metanetwork)
library(igraph)
g = make_ring(5,directed = TRUE)
meta = build_metanet(g)
#> Warning: nodes of metaweb do not have names. Assigning integers as names
is.metanetwork(meta)
#> [1] TRUE
#on Angola dataset
data("meta_angola")
is.metanetwork(meta_angola)
#> [1] TRUE