Extract measurements and dimensions from a netify object
Source:R/netify_measurements.R
netify_measurements.Rdnetify_measurements (also available as measurements)
extracts 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