These functions implement logical tests for various network properties. All is_*() functions return a logical scalar (TRUE or FALSE).

  • is_longitudinal() marks networks TRUE if they contain multiple waves of data.

  • is_dynamic() marks networks TRUE if they contain time-stamped data.

  • is_changing() marks networks TRUE if they contain any nodal changes.

is_longitudinal(.data)

is_dynamic(.data)

is_changing(.data)

Arguments

.data

An object of a {manynet}-consistent class:

  • matrix (adjacency or incidence) from {base} R

  • edgelist, a data frame from {base} R or tibble from {tibble}

  • igraph, from the {igraph} package

  • network, from the {network} package

  • tbl_graph, from the {tidygraph} package

See also

Examples

is_longitudinal(create_tree(5, 3))
#> [1] FALSE
is_dynamic(create_tree(3))
#> [1] FALSE
is_changing(fict_starwars)
#> [1] TRUE