Plot a signed or complex network
Arguments
- g
igraph object. Must have a "sign" edge attribute or an attribute containing "P", "N", "A"
- type
character string. either "signed" or "complex"
- attr
character string. edge attribute that containing "P", "N", "A" if type="complex"
- edge_cols
colors used for negative and positive (and ambivalent) ties
- weights
logical. If TRUE, weights are computed based on sign. Defaults to FALSE