Gregor Gorjanc <gregor.gorjanc <at> bfro.uni-lj.si> writes: > Hello! > > I am working on "breed composition" of animals in my project. Say I have > an animal 1 with parents 2 (father) and 3 (mother). If father is of > breed A and mother of breed B, then their descendant is of breed AB or > 50 % of A and 50 % of B. I would like to have a general way to represent > this kind of data. I was thinking about list structure i.e. ... > > However, I would like to ask if there is anything like this already in R > or contributed packages.
Replying myself. There is a package compositions at CRAN. I should have done homework before asking here. Gregor ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
