Description Usage Arguments Value Examples
DataInfo3D
Exhibit basic data information
1 2 3 4 5 6 7 8 9 10 11 | DataInfo3D(
data,
diversity = "TD",
datatype = "abundance",
nT,
PDtree,
PDreftime = NULL,
FDdistM,
FDtype,
FDtau = NULL
)
|
data |
a |
diversity |
selection of diversity type: 'TD' = Taxonomic diversity, 'PD' = Phylogenetic diversity, and 'FD' = Functional diversity. |
datatype |
data type of input data: individual-based abundance data ( |
nT |
needed only when |
PDtree |
a phylo object describing the phylogenetic tree in Newick format for all observed species in the pooled assemblage. It is necessary when |
PDreftime |
Select several reference time points for |
FDdistM |
a pair wise distance matrix for all pairs of observed species in the pooled assemblage. It will be use when |
FDtype |
a binary selection for FD. |
FDtau |
a sequence between 0 and 1 specifying tau. If |
a data.frame of basic data information including sample size, observed species richness, sample coverage estimate, and the first ten abundance/incidence frequency counts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | ## example for abundance-based data
# diversity = 'TD'
data(spider)
DataInfo3D(spider, diversity = 'TD', datatype = "abundance")
# diversity = 'PD'
data(data.abu)
data <- data.abu$data
tree <- data.abu$tree
DataInfo3D(data, diversity = 'PD', datatype = "abundance", PDtree = tree)
# diversity = 'FD' & FDtype = 'tau_values'
data(FunDdata.abu)
data <- FunDdata.abu$data
distM <- FunDdata.abu$dij
DataInfo3D(data, diversity = 'FD', datatype = "abundance", FDdistM = distM, FDtype = 'tau_values')
# diversity = 'FD' & FDtype = 'AUC'
data(FunDdata.abu)
data <- FunDdata.abu$data
distM <- FunDdata.abu$dij
DataInfo3D(data, diversity = 'FD', datatype = "abundance", FDdistM = distM, FDtype = 'AUC')
## example for incidence-based data
# diversity = 'TD'
data(ant)
DataInfo3D(ant, diversity = 'TD', datatype = "incidence_freq")
# diversity = 'PD'
data(data.inc)
data <- data.inc$data
tree <- data.inc$tree
nT <- data.inc$nT
DataInfo3D(data, diversity = 'PD', datatype = "incidence_raw", nT = nT, PDtree = tree)
# diversity = 'FD' & FDtype = 'tau_values'
data(FunDdata.inc)
data <- FunDdata.inc$data
distM <- FunDdata.inc$dij
DataInfo3D(data, diversity = 'FD', datatype = "incidence_freq", FDdistM = distM, FDtype = 'tau_values')
# diversity = 'FD' & FDtype = 'AUC'
data(FunDdata.inc)
data <- FunDdata.inc$data
distM <- FunDdata.inc$dij
DataInfo3D(data, diversity = 'FD', datatype = "incidence_freq", FDdistM = distM, FDtype = 'AUC')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.