Merge netlet attributes with layout information
merge_layout_attribs.Rd
This function organizes netlet
data by integrating x and y positions from nodes_list
and
connection data from edges_list
into the node and edge data structures returned by
decompose_netlet
. It supports both cross-sectional and longitudinal data formats.
Arguments
- netlet
A
netify
object containing the network data.- nodes_list
A list of data frames (or a single data frame for cross-sectional data) containing node positions with columns
actor
,x
, andy
. For longitudinal data, each list element corresponds to a different time slice.- edges_list
A list of data frames (or a single data frame for cross-sectional data) detailing the connections between nodes. Each data frame should include at least the columns
from
,to
, and for longitudinal data,time
.