Description Usage Arguments Value Note Author(s) References Examples

Calculates `E(LR(HP)), SD(LR(HP) and SD(LR(HD))`

exactly
Answers is independent of allele frequencies except for `SD(LR(HD))`

1 | ```
tableELRHP(L = 4,p=rep(1/L,L))
``` |

`L` |
Integer, at least 1. |

`p` |
Allele frequencies, vector of length $L$ |

A table for a set of pairwise relationships.

Other pairwise relationships requires simple changes in code.

Thore Egeland Thore.Egeland@nmbu.no

Slooten and Egeland (to appear)

1 | ```
tableELRHP(L = 2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.