pclades | R Documentation |
Joint probability of two clades
pclades(a, b, n, case = 1, log = FALSE)
a |
size of clade A. |
b |
size of clade B. |
n |
number of taxa. |
case |
see details |
log |
logical if TRUE (default is FALSE) returns log probability |
case 1: A == B;
case 2: A is contained in B;
case 3: B is contained in A;
case 4: A and B are disjoint and a + b = n;
case 5: A and B are disjoint and a + b < n;
case 6: A and B are incompatible.
(log) joint probability of clades A and B given their sizes.
pclades(a = 2, b = 3, n = 5, case = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.