all_opt_ppv: Optimize All Probabilistic Path Values

Description Usage Arguments Value See Also

View source: R/opt_ppv.R

Description

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

Usage

1
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


gretel documentation built on Aug. 22, 2019, 5:10 p.m.