opt_ppv {gretel} | R Documentation |
Identify the path of optimal probabilistic path value from a source node to a target node.
opt_ppv(sociomatrix, source, target, odds_scale = 1,
odds_scale_by_node = NULL)
sociomatrix |
a nonnegative, real valued sociomatrix. |
source |
an integer index corresponding to a node in |
target |
an integer index corresponding to a node in |
odds_scale |
a nonnegative real number indicating the observed tie strength value that corresponds to 1-1 transmission odds |
odds_scale_by_node |
sets a transfer odds scale for each node in a probabilistic path value calculation. |
ppv
to calculate the value of a user-specified path,
all_opt_ppv
to simultaneously identify the optimal paths
from any source node to any target node.