rho_clades | R Documentation |
Computes the correlation between two clades.
rho_clades(c1, c2, n)
c1 |
a string containing a clade. |
c2 |
a string containing a clade. |
n |
number of taxa. |
a data.frame containing the marginal probabilities, joint probability and correlation.
rho_clades(c1 = "{t1,t2}", c2 = "{t1,t2}", n = 5) ## case 1
rho_clades(c1 = "{t1,t2}", c2 = "{t1,t2,t4}", n = 5) ## case 2/3
rho_clades(c1 = "{t1,t2}", c2 = "{t3,t4,t5}", n = 5) ## case 4
rho_clades(c1 = "{t1,t2}", c2 = "{t3,t4}", n = 5) ## case 5
rho_clades(c1 = "{t1,t2}", c2 = "{t1,t3,t4}", n = 5) ## case 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.