all_opt_ppv {gretel}R Documentation

Optimize All Probabilistic Path Values

Description

Identify the path of optimal probabilistic path value from every source to every target in sociomatrix.

Usage

all_opt_ppv(sociomatrix, odds_scale = 1, odds_scale_by_node = NULL)

Arguments

sociomatrix

a nonnegative, real valued sociomatrix.

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.

Value

All optimal paths from source to target nodes in sociomatrix. To minimize memory usage, paths are returned as a list of trees in Dijkstra's format. Specific paths can be unpacked with unpack as described in the example below.

See Also

ppv to calculate the value of a user-specified path, opt_ppv to identify the optimal path from a single source node to a single target node


[Package gretel version 0.0.1 Index]