PDBoot: Expand bootstraping branch abundance/incience and branch...

Description Usage Arguments Value Examples

View source: R/Bootstrap.R

Description

PDBoot: Expand bootstraping branch abundance/incience and branch length

Usage

1
PDBoot(x, labels, phy, datatype = "abundance")

Arguments

x

a vector/matrix/list of species abundances or a matrix of raw incidence table.

labels

a vector of species name for input data.

phy

a phylogenetic tree with "phylog" class.

datatype

data type of input data: individual-based abundance data (datatype = "abundance"), species by sampling-units incidence matrix (datatype = "incidence_raw").

Value

a list of data.frame with bootstraping branch abundance/incience and branch length.

Examples

1
2
3
4
5
data(bird)
bird.lab <- rownames(bird$abun)
bird.phy <- ade4::newick2phylog(bird$tre)
bird.inc <- bird$inci
PDBoot(bird.inc, labels=bird.lab, phy=bird.phy, datatype="incidence_raw")

iNextPD documentation built on May 2, 2019, 3:31 a.m.