Re: [R] Composition like classes & functions

From: Gregor Gorjanc <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Mon 06 Nov 2006 - 14:20:24 GMT

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



R-help@stat.math.ethz.ch 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. Received on Tue Nov 07 08:58:50 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 06 Nov 2006 - 22:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.