README.md

gretel: Generalized Path Analysis for Social Networks

Features methods for quantifying path values and identifying optimal paths under a variety of modeling assumptions. Intended to be used in service of other structural analyses.

Getting Started

Installation Instructions

library(devtools)
install_github("davidbuch/gretel")

Example

# Identify the path of optimal conductivity between nodes 1 and 5 of a sociomatrix
# Using example data from *Yang, Knoke* (2001) <DOI: 10.1016/S0378-8733(01)00043-0>

best_path <- opt_gpv(YangKnoke01, source = 1, target = 5, alpha = 1)

# Compare the conductivity of this path to that of an inferior path

gpv(YangKnoke01, path = best_path, alpha = 1)

gpv(YangKnoke01, path = c(1,2,3,4,5), alpha = 1)

Please see the package vignette for more information and examples.

Overview

This package contains two categories of functions. The first category is concerned with assigning values to user specified paths, while the second identifies paths of optimal value.

Key functions in the path value calculation category are

Key functions in the optimal path identification category are

Author

David A. Buch

Citation

TBA

Acknowledgements

To my Dad, on his birthday.

License

GPL-3



Try the gretel package in your browser

Any scripts or data that you put into this service are public.

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