Extract measurements and dimensions from a netify object
Source:R/netify_measurements.R
netify_measurements.Rdnetify_measurements (also available as measurements)
extracts comprehensive information about the structure, dimensions, and attributes
of a netify object. This function provides a standardized way to inspect network
properties across different netify types.
Value
A list containing measurements of the netify object with the following components (availability depends on netify type):
Actor information:
row_actors: Character vector (or list) of row actor namescol_actors: Character vector (or list) of column actor namesn_row_actors: Integer (or list) count of row actorsn_col_actors: Integer (or list) count of column actors
Temporal information:
time: Character vector of time period labels (NULL for cross-sectional)n_time: Integer count of time periods (NULL for cross-sectional)
Layer information:
layers: Character vector of layer names (NULL if single layer)n_layers: Integer count of layers (NULL if single layer)
Attribute information:
nvars: Character vector of nodal variable namesn_nvars: Integer count of nodal variablesdvars: Character vector of dyadic variable namesn_dvars: Integer count of dyadic variables