nodal.network {Blaunet} | R Documentation |
Computes whether an individual spans (has connections in) another niche and the number of other niches each individual spans to.
nodal.network(blauObj, dev.range, ecologies.off = FALSE)
blauObj |
An object of class blau initialized with the function |
dev.range |
When creating niches, indicates standard deviation around the mean in each dimension to include in niche. A larger value will make niches larger and therefore include more individuals. |
ecologies.off |
Defaults to |
This function requires sociometric network data and identifies ties that bridge niches. The preferred format is a named edgelist, although an adjacency matrix with properly named rows and columns is also acceptable. Network information will be matched to organization and demographic information by these names.
For individuals i
and j
in niches alpha
and beta
, if individual i
is in niche alpha
and individual j
is in niche beta
, and i
and j
have an edge between them, then i
spans to niche beta
and j
spans to niche alpha
. However, if i
is in both niche alpha
and niche beta
, i
would not span to beta
because i
is already in niche beta
.
A matrix stored in object$nodalNetwork
with two columns holding the two measures. Row names are node names provided with the blau
function.
data(BSANet)
el <- BSANet$el
square.data <- BSANet$square.data
b <- blau(square.data, node.ids = 'person', ecology.ids = 'city', graph = el)
#will automatically compute niches
b <- nodal.network(b, dev.range = rep(1.5, 3)) # 3 is the number of dimensions