View source: R/joint_prob_clades.R
joint_prob_clades | R Documentation |
Computes the joint probability for two clades for a given number of taxa.
joint_prob_clades(c1, c2, n, log = FALSE, verbose = FALSE)
c1 |
a string containing a clade. |
c2 |
a string containing a clade. |
n |
number of taxa. |
log |
logical. If |
verbose |
logical. If |
(log) joint probability.
joint_prob_clades(c1 = "{t1,t2}", c2 = "{t1,t2}", n = 5) ## case 1
joint_prob_clades(c1 = "{t1,t2}", c2 = "{t1,t2,t4}", n = 5) ## case 2/3
joint_prob_clades(c1 = "{t1,t2}", c2 = "{t3,t4,t5}", n = 5) ## case 4
joint_prob_clades(c1 = "{t1,t2}", c2 = "{t3,t4}", n = 5) ## case 5
joint_prob_clades(c1 = "{t1,t2}", c2 = "{t1,t3,t4}", n = 5) ## case 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.