bgdispersal(mat, PAonly = FALSE, abc = FALSE)
FALSE
if the four types of coefficients, DD1 to
DD4, are requested; TRUE
if DD1
and DD2
only are
sought (see Details).TRUE
, return tables a
, b
and c
used in DD1
and DD2
.bgdispersal
returns a list containing the following matrices:W = sum(pmin(vector1, vector2))
, A = sum(vector1)
,
B = sum(vector2)
In the input data table, the rows are sites or
areas, the columns are taxa. Most often, the taxa
are species, but the coefficients can be computed
from genera or families as well. DD1 and DD2 only
are computed for presence-absence data. The four
types of coefficients are computed for
quantitative data, which are converted to
presence-absence for the computation of DD1 and
DD2. PAonly = FALSE
indicates that the four types
of coefficients are requested. PAonly = TRUE
if DD1
and DD2 only are sought.
mat <- matrix(c(32,15,14,10,70,30,100,4,10,30,25,0,18,0,40,
0,0,20,0,0,0,0,4,0,30,20,0,0,0,0,25,74,42,1,45,89,5,16,16,20),
4, 10, byrow=TRUE)
bgdispersal(mat)
Run the code above in your browser using DataLab