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
max_dist: The maximum breadth of the neighbourhood. By default 1.
min_dist: The minimum breadth of the neighbourhood. By default 0. Increasing this to 1 excludes the ego, and 2 excludes ego's direct alters.
direction: String, either "out" or "in".
attribute: One or two attributes used to slice data.
panels: Would you like to select certain waves? NULL by default. That is, a list of networks for every available wave is returned. Users can also list specific waves they want to select.
cumulative: Whether to make wave ties cumulative. FALSE by default. That is, each wave is treated isolated.
slice: Character string or character list indicating the date(s) or integer(s) range used to slice data (e.g slice = c(1:2, 3:4)).
Returns
The returned object will be a list of network objects.
Functions
to_egos(): Returns a list of ego (or focal) networks.
to_subgraphs(): Returns a list of subgraphs on some given node attribute.
to_components(): Returns a list of the components in a network.
to_waves(): Returns a network with some discrete observations over time into a list of those observations.
to_slices(): Returns a list of a network with some continuous time variable at some time slice(s).