Description Usage Format Details Examples
Dataset from the book ,,Modele liniowe i mieszane w R, wraz z przykladami w analizie danych”.
1 |
data.frame with 30 obs. and 10 variables
id
an individual id
dadid
id of father, 0 for founders
momid
id of mother, 0 for founders
sex
sex
sigma
maximal stress
diet
diet, D1 or D2
k1
resilience coefficient in point 1
k2
resilience coefficient in point 2
E1
Younga module in point 1
E2
Younga module in point 2
Dataset from the book ,,Modele liniowe i mieszane w R, wraz z przykladami w analizie danych”.
Used as an example of model with mixed effects where random effects have know dependency structure, here related to the kinship coefficient.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
require(kinship2)
pedmus <- pedigree(musculus$id, musculus$dadid, musculus$momid, musculus$sex)
plot(pedmus, affected=musculus$diet)
fam <- makefamid(musculus$id, musculus$dadid, musculus$momid)
kmatrix <- makekinship(fam, musculus$id, musculus$dadid, musculus$momid)
kmatrix[1:5,1:15]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.