Description Usage Format Details
An artificial dataset containing information on flu, body weight and DNA methylation at an immune system gene locus, as well as demographic variables.
1 | data("flu_weight")
|
A data frame with 200 observations on the following 7 variables.
DNAmeth
a numeric vector: DNA methylation fraction (ranging 0-1) at an immune system gene locus
FluNow
a numeric vector: Presence of severe flu at the moment of sample collection
FluChild
a numeric vector: History of recurrent flu during childhood
Gender
a character vector: Pair's gender
Age
a numeric vector: Pair's age
Weight
a numeric vector: Body weight in kilograms
PairNum
a numeric vector: Randomly assigned pair number
As observed from this dataset, the individuals of the sample are sorted following two criteria: 1) twin pairs are put together (adjacent rows), and 2) all twins are discordant for present flu (FluNow
).
The second condition is necessary only when using the log_dif
function.
It is recommended pre-sorting all datasets used along with this R package following criterion "1" or criteria "1" and "2".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.