These functions are used to describe components of a given network in terms of a particular phrase.
describe_network() describes the features or properties of a network,
such as whether it is two-mode, directed, or complex.
describe_nodes() describes how many of each type of nodes there are
and, if available, names the different nodesets or modes.
describe_ties() describes how many of each type of ties there are
and, if available, names the different types of ties.
describe_changes() describes the changing features of a network,
if any, such as how many waves there are.
describe_transformations() describes how the network has been
transformed since it was collected or generated, if at all.
These descriptions are constructed to be GRAND-consistent.
describe_network(.data)
describe_nodes(.data)
describe_ties(.data)
describe_changes(.data)
describe_transformations(.data, details = FALSE, width = cli::console_width())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
Logical. Where FALSE, the default, the description is given at whichever level of detail fits the width of the console. Where TRUE, every method and its consequence is named whatever the width.
Integer. The number of characters the description may fill,
by default the width of the console. Where a caller adds words of its own,
such as the header print() puts this in, it passes what is left.
describe_transformations(to_undirected(ison_southern_women))
#> [1] "symmetrisation: collapse"