View source: R/helpers_regression.R
check_discord_errors | R Documentation |
This function checks for common errors in the provided data, including the correct specification of identifiers (ID, sex, race) and their existence in the data.
check_discord_errors(data, id, sex, race, pair_identifiers)
data |
The data to perform a discord regression on. |
id |
A unique kinship pair identifier. |
sex |
A character string for the sex column name. |
race |
A character string for the race column name. |
pair_identifiers |
A character vector of length two that contains the variable identifier for each kinship pair. |
An error message if one of the conditions are met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.