Construct the signed network of a system of contrasting relations

1 |

`P` |
array with the positive ties and possible with negative ties (see Details) |

`N` |
(optional) array with the negative ties |

`labels` |
(optional) labels for the signed matrix |

This function coerce a array(s) to become a '`Signed`

' object. Positive ties are always in the first argument, and in case that this array has three dimensions, then the second dimension is considered as the negative ties, provided that `N`

is NULL. If ambivalent ties are present in the structure then the signed matrix represent positive, negative, ambivalent, and null ties as `p`

, `n`

, `a`

, and `o`

respectively; otherwise the values are `1`

, `-1`

, and `0`

.

An object of '`Signed`

' class with items:

`val` |
the valences in the signed matrix |

`s` |
the signed matrix |

A warning message is shown when the `N`

argument has more than two dimensions.

Antonio Rivero Ostoic

Doreian, P., V. Batagelj and A. Ferligoj *Generalized Blockmodeling*. Cambridge University Press. 2004.

`semiring`

, `as.signed`

1 2 3 4 5 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.