musculus {PBImisc}R Documentation

A dataset relatead to mice musculus growth which depends on diet and genetic structure

Description

Dataset from the book ,,Modele liniowe i mieszane w R, wraz z przykladami w analizie danych”.

Usage

data(musculus)

Format

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

Details

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.

Examples

## 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)

[Package PBImisc version 1.0 Index]