Learn R Programming

discord

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.

Quick Start Guide

Step 1: Install the Package

# Install from CRAN
install.packages('discord')

# Or install development version from GitHub
# install.packages('devtools')
devtools::install_github('R-Computing-Lab/discord')

Step 2: Choose Your Starting Point

Your workflow depends on your data structure and experience level:

**

Copy Link

Version

Install

install.packages('discord')

Monthly Downloads

503

Version

1.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

S. Mason Garrison

Last Published

January 18th, 2026

Functions in discord (1.3)

discord_regression_legacy

Legacy Code: Discord Regression
kinsim

Simulate Biometrically Informed Multivariate Data
check_sibling_order_ram_optimized

Check Sibling Order RAM Optimized
discord_between_model

Perform a Between-Family Linear Regression within the Discordant Kinship Framework
check_sibling_order

Check Sibling Order
discord_cond

Custom Conditions for the discord package
check_discord_errors

Check Discord Errors
discord_data

Restructure Data to Determine Kinship Differences
discord_regression

Perform a Linear Regression within the Discordant Kinship Framework
data_sample

Sample Data from NLSY
data_flu_ses

Flu Vaccination and SES Data
discord_data_ram_optimized

Discord Data RAM Optimized
kinsim_internal

Simulate Kinship-Based Biometrically Informed Univariate Data
discord_data_fast

Discord Data Fast
.rmvn

Generate Multivariate Normal Random Variates
discord-package

discord: Functions for Discordant Kinship Modeling
discord_data_legacy

Legacy Code: Restructure Data
make_mean_diffs

Make Mean Differences