groupRatio: Return the ratio of weights of in-:out-group connections

Description Usage Arguments Value

View source: R/results.R

Description

Return the ratio of weights of in-:out-group connections

Usage

1
groupRatio(g, original_groups = T)

Arguments

g

graph for which to determine the ratio

original_groups

whether to use the original groups (T) or assign groups based on biases in the current graph (F)

Value

double representing the ratio of mean weights in the graph for all agents


oxacclab/adviseR documentation built on Oct. 7, 2021, 8:05 p.m.