as_incidence_signed: Convert a signed two-mode network to a signed matrix
Description
This function returns the incidence matrix for a signed two-mode network.
Usage
as_incidence_signed(g, sparse = FALSE)
Value
signed incidence matrix
Arguments
- g
igraph object (bipartite). Must have a "sign" edge attribute.
- sparse
Logical scalar, whether to return the result as a sparse matrix. The Matrix package is required for sparse matrices.