Sum.Indices.2.Topologies: Sums two tables with indices values.

Description Usage Arguments Value Author(s) Examples

Description

You input two tables with indices and it function returns a single table with the sum.

Usage

1
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

 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)
 

Dmirandae/jrich documentation built on May 6, 2019, 2:50 p.m.