Sum.Indices.2.Topologies {jrich} | R Documentation |
Sums two tables with indices values.
Description
You input two tables with indices and it function returns a single table with the sum.
Usage
Sum.Indices.2.Topologies(indices1 = indices1, indices2 = indices2)
Arguments
indices1 |
a table of indices values. |
indices2 |
a table of indices values. |
Value
a single table with the sum of the two indices.
Author(s)
Miranda-Esquivel Daniel R.
Examples
## 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)
[Package jrich version 0.60-35 Index]