Last chance! 50% off unlimited learning
Sale ends in
rel.sys(x, type = c("tolist", "toarray"), bonds = c("entire", "strong", "weak", "asym", "recp", "txch", "tent", "mixd", "full"), sel = NULL, loops = FALSE, att = NULL, prsep)
"toarray"
att
and noatt
also supported (see details)
x
corresponding to attributes
Rel.System
' class for the type = "tolist"
(default) option.
The items are:For type = "toarray"
the output is a dichotomous 2D or 3D array recording the relations among the actors in the network.entire
then the nodes with ties are considered in the relational system without isolated nodes. strong
bonds are relational bundles with a mutual character, whereas weak
bonds are those pattern exclusively without mutual character.When selecting from a list with actor attributes, it is also possible to select the network members having or not the attribute that is specified in the Attrs
output. Use att
or noatt
for the two options.
expos
, bundles
, neighb
## Create the data: two binary relations among three elements
arr <- round( replace( array( runif(18), c(3 ,3, 2) ), array( runif(18),
c(3, 3, 2) ) > .9, 3 ) )
## Determine the system of strong bonds
rel.sys(arr, bonds = "strong")
## the first array is for attributes
rel.sys(arr, att = 1)
## select the first node
rel.sys(arr, sel = 1)
Run the code above in your browser using DataLab