The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
discord is an R package that provides functions for
discordant kinship modeling and other sibling-based quasi-experimental
designs. It includes functions for data preparation, regression
analysis, and simulation of genetically-informed data. The package is
designed to facilitate the implementation of discordant sibling designs
in research, allowing for the control of shared familial confounding
factors.
Visit the discord website for more information and detailed documentation. Below is a brief overview of the package, its features, and a roadmap to get you started.
# Install from CRAN
install.packages('discord')
# Or install development version from GitHub
# install.packages('devtools')
devtools::install_github('R-Computing-Lab/discord')Your workflow depends on your data structure and experience level:
๐ New to discordant-kinship regression?
๐ Have NLSY data or existing kinship links?
๐ง Need to build kinship links from scratch?
Once you understand the basics, explore specialized topics:
The package includes several vignettes organized by user needs. All vignettes can be accessed online or from the RStudio โVignettesโ tab after package installation.
These vignettes provide complete end-to-end examples and should be your first stop:
Beyond the vignettes, you can find additional examples that fully reproduce analyses from our other publications (Garrison et al 2025, etc). These examples can be accessed via the following links and are presented in reverse chronological order:
NLSY AMPPS
repo: Reproduces NLSY analyses from Garrison et al 2025, using
targets for workflow management. Garrison, S. M., Trattner,
J. D., Lyu, X., Prillaman, H. R., McKinzie, L., Thompson, S. H. E.,
& Rodgers, J. L. (2025). Sibling Models Can Test Causal Claims
without Experiments: Applications for Psychology. https://doi.org/10.1101/2025.08.25.25334395
Frontiers repo: Reproduces Sims, E. E., Trattner, J. D., & Garrison, S. M. (2024). Exploring the relationship between depression and delinquency: a sibling comparison design using the NLSY. Frontiers in psychology, 15, 1430978. https://doi.org/10.3389/fpsyg.2024.1430978
Intelligence repo: Reproduces Garrison, S. M., & Rodgers, J. L. (2016). Casting doubt on the causal link between intelligence and age at first intercourse: A cross-generational sibling comparison design using the NLSY. Intelligence, 59, 139-156. https://doi.org/10.1016/j.intell.2016.08.008
If you use discord in your research or wish to refer to
it, please cite the following package as well as the AMPPS paper:
To cite package 'discord' in publications use:
Garrison S, Trattner J, Hwang Y (2026). _discord: Functions for
Discordant Kinship Modeling_. doi:10.32614/CRAN.package.discord
<https://doi.org/10.32614/CRAN.package.discord>, R package version
1.3, <https://github.com/R-Computing-Lab/discord>.
A BibTeX entry for LaTeX users is
@Manual{,
title = {discord: Functions for Discordant Kinship Modeling},
author = {S. Mason Garrison and Jonathan Trattner and Yoo Ri Hwang},
note = {R package version 1.3},
url = {https://github.com/R-Computing-Lab/discord},
year = {2026},
doi = {10.32614/CRAN.package.discord},
}
Contributions to the discord project are welcome. For
guidelines on how to contribute, please refer to the Contributing
Guidelines. Issues and pull requests should be submitted on the
GitHub repository. For support, please use the GitHub issues page.
discord is licensed under the GNU General Public License
v3.0. For more details, see the LICENSE
file.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.