Description Usage Arguments See Also Examples
Generates a proximity matrix in one of three modes:
'ogpv'
Optimal Generalized Path Value. Entry i,j
of the
proximity matrix will equal the optimal 'gpv' among all paths connecting node
i
to node j
.
'oppv'
Optimal Probabilistic Path Value. Entry i,j
of the
proximity matrix will equal the optimal 'ppv' among all paths connecting node
i
to node j
.
'sconductivity'
Social Conductivity (Random Walk Probability). If
each tie strength recorded in sociomatrix
is taken to be analogous to the
conductivity of an electrical component, i,j
of the proximity matrix
will equal total conductivity of all paths from node i
to node j
.
1 2 3 |
sociomatrix |
a nonnegative, real valued sociomatrix. |
mode |
a selection of |
p |
if |
node_costs |
if |
odds_scale |
if |
odds_scale_by_node |
if |
1 2 3 4 5 6 7 8 9 | ## Generate a proximity matrix in each mode
## Optimal Generalized Path Value
generate_proximities(YangKnoke01, mode = "ogpv", p = Inf, node_costs = c(1,3,3,2,1))
## Optimal Probabilistic Path Value
generate_proximities(YangKnoke01, mode = "oppv", odds_scale = 2)
## Sconductivity
generate_proximities(YangKnoke01, mode = "sconductivity")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.