Description Usage Arguments Value Examples
obs3D
The empirical diversity of order q
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
(a) For |
diversity |
selection of diversity type: |
q |
a numerical vector specifying the diversity orders. Default is seq(0, 2, by = 0.2). |
datatype |
data type of input data: individual-based abundance data ( |
nboot |
a positive integer specifying the number of bootstrap replications when assessing sampling uncertainty and constructing confidence intervals. Enter 0 to skip the bootstrap procedures. Default is 50. |
conf |
a positive number < 1 specifying the level of confidence interval. Default is 0.95. |
nT |
(required only when |
PDtree |
(required only when |
PDreftime |
(required only when |
PDtype |
(required only when |
FDdistM |
(required only when |
FDtype |
(required only when |
FDtau |
(required only when |
a table of diversity q profile by 'Empirical'
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 47 48 49 50 51 52 53 54 | ## example for abundance-based data
# diversity = 'TD'
data(spider)
out1 <- obs3D(spider, diversity = 'TD', datatype = "abundance")
out1
# diversity = 'PD'
data(data.abu)
data <- data.abu$data
tree <- data.abu$tree
out2 <- obs3D(data, diversity = 'PD', q = seq(0, 2, by = 0.25), datatype = "abundance", nboot = 30, PDtree = tree)
out2
# diversity = 'FD' & FDtype = 'tau_values'
data(FunDdata.abu)
data <- FunDdata.abu$data
distM <- FunDdata.abu$dij
out3 <- obs3D(data, diversity = 'FD', q = seq(0, 2, 0.5), datatype = "abundance", nboot = 30, FDdistM = distM, FDtype = 'tau_values')
out3
# diversity = 'FD' & FDtype = 'AUC'
data(FunDdata.abu)
data <- FunDdata.abu$data
distM <- FunDdata.abu$dij
out4 <- obs3D(data = data[,2], diversity = 'FD', q = seq(0, 2, 0.5), datatype = "abundance", nboot = 30, FDdistM = distM)
out4
## example for incidence-based data
# diversity = 'TD'
data(ant)
out5 <- obs3D(ant, diversity = 'TD', datatype = "incidence_freq")
out5
# diversity = 'PD'
data(data.inc)
data <- data.inc$data
tree <- data.inc$tree
nT <- data.inc$nT
out6 <- obs3D(data, diversity = 'PD', q = seq(0, 2, by = 0.25), datatype = "incidence_raw", nT = nT, PDtree = tree)
out6
# diversity = 'FD' & FDtype = 'tau_values'
data(FunDdata.inc)
data <- FunDdata.inc$data
distM <- FunDdata.inc$dij
out7 <- obs3D(data, diversity = 'FD', datatype = "incidence_freq", FDdistM = distM, FDtype = 'tau_values')
out7
# diversity = 'FD' & FDtype = 'AUC'
data(FunDdata.inc)
data <- FunDdata.inc$data
distM <- FunDdata.inc$dij
out8 <- obs3D(data, diversity = 'FD', datatype = "incidence_freq", nboot = 30, FDdistM = distM)
out8
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.