Learn R Programming

multiplex (version 3.7)

signed: Signed Network

Description

Construct the signed network of a system of contrasting relations

Usage

signed(P, N = NULL, lbs)

Value

An object of ‘Signed’ class with items:

val

valences in the signed matrix

s

signed matrix

Arguments

P

array with the positive ties and possible with negative ties (see ‘details’)

N

(optional) array with the negative ties

lbs

(optional) labels for the signed matrix

Author

Antonio Rivero Ostoic

Details

This function coerces an array(s) to become a ‘Signed’ object. Positive ties are always in the first argument, and in case that this array has three dimensions, the second dimension is considered as the negative ties, provided that N is still 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.

References

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

See Also

semiring, as.signed

Examples

Run this code
# load the data
data("incubA")

# make the signed matrix with two types of relations
signed(incubA$IM)

Run the code above in your browser using DataLab