mendel: Mendelian segregation

Description Usage Arguments Examples

View source: R/cptable-special.R

Description

Generate conditional probability table for mendelian segregation.

Usage

1
mendel(allele, names = c("child", "father", "mother"))

Arguments

allele

A character vector.

names

Names of columns in dataframe.

Examples

1
2
3
4
## Inheritance of the alleles "y" and "g"

men <- mendel( c("y","g"), names = c("ch", "fa", "mo") )
men

gRain documentation built on May 30, 2017, 8:20 a.m.

Search within the gRain package
Search all R packages, documentation and source code