Model Code for:
Silk JB, Roberts ER, Patterson SK, Barrett BJ, and Strum SC. Female-male relationships influence the form of female-female relationships in olive baboons, Papio anubis.
-
Code for models mKMIG and mKMG are found in "baboons_topmaleXkin_github.R." There is some example graphing code as well.
-
Varying effects structure for unidirectional dyadic data gets a formal mathematical treatment in "supplemental-female-female-git.pdf"
Tweet @bjjbarrett or email me if you have any questions about analysis.