These functions implement logical tests for various network properties.
All is_*() functions return a logical scalar (TRUE or FALSE).
is_cognitive() marks networks TRUE if they are cognitive social structures,
i.e. where the edgelist contains a 'by' column indicating who reported/recorded
each tie, in addition to the 'from' and 'to' columns.
is_cognitive(.data)An object of a {manynet}-consistent class:
adjacency or incidence matrix from {base} R
edgelist data.frame from {base} R or tbl/tbl_df from {tibble}
stocnet stocnet, from the {manynet} package
igraph igraph, from the {igraph} package
network network, from the {network} package
tidygraph tbl_graph, from the {tidygraph} package
Other marks:
mark_format_change,
mark_format_node,
mark_format_tie
is_cognitive(create_filled(3))
#> [1] FALSE