This function fills in an adjacency matrix based on actors and data
get_matrix.Rd
This function fills in an adjacency matrix based on actors and data
Usage
get_matrix(
n_rows,
n_cols,
actors_rows,
actors_cols,
matRowIndices,
matColIndices,
value,
symmetric
)
Arguments
- n_rows
integer specifying number of row actors
- n_cols
integer specifying number of column actors
- actors_rows
character vector of row actors
- actors_cols
character vector of column actors
- matRowIndices
numeric vector indicating positions of senders in data
- matColIndices
numeric vector indicating positions of receivers in data
- value
numeric vector of values to fill in cross-sections of adjacency matrices
- symmetric
logical indicating whether ties are symmetric