Description Usage Arguments Value Author(s) Examples
You input two tables with indices and it function returns a single table with the sum.
1 | Sum.Indices.2.Topologies(indices1 = indices1, indices2 = indices2)
|
indices1 |
a table of indices values. |
indices2 |
a table of indices values. |
a single table with the sum of the two indices.
Miranda-Esquivel Daniel R.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## get the library
library(jrich)
## load the data
data(Multitaxon1)
## calculate indices for two trees and their distributions
temp.Index.Value1 <- Calculate.Index(tree = Multitaxon1[[1]][[1]],
distribution = Multitaxon1[[1]][[2]],0)
temp.Index.Value2 <- Calculate.Index(tree = Multitaxon1[[2]][[1]],
distribution = Multitaxon1[[2]][[2]],0)
## sum the indices values
Sum.Indices.2.Topologies(temp.Index.Value1, temp.Index.Value2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.