Calculates the expected average degree of a BNR network (single parent only) based on the approximation by Ilany and Akcay, 2016 (see details).
Usage
avg_degree_bnr(n, pb, pn, pr)
# S4 method for class 'numeric,numeric,numeric,numeric'
avg_degree_bnr(n, pb, pn, pr)
Value
Returns the expected average degree of a BNR network as a numeric value. This value is an analytic result and not a numeric approximation (compare examples below).
Details
The expected average degree \(\bar{d}\) is calculated as $$ \bar{d} = \frac{(N-1)(p_b + (N-2)p_r)}{N-1-(N-2)(p_n - p_r)} $$
References
Ilany, A., and Akçay, E. (2016). Personality and Social Networks: A Generative Model Approach. Integrative and Comparative Biology, 56(6), 1197–1205. doi:10.1093/icb/icw068