Description Usage Arguments Details Value Author(s) Examples
Calculates RV coefficients of partial abundance matrices by using as reference the complete abundance community matrix. This function is designed to be flexible with regards to the underlying distance used as dist
, vegdist
, decostand
(through the argument transfo
) and designdist
.
1 |
comm |
A complete abundance community |
partAbund |
An object of class |
transfo |
A character string passed to |
dist |
A character string passed to |
vegdist |
A character string passed to |
designdist |
A character string presenting an equation of the dissimilarities passed to |
logbase |
A numeric value defining the log base use for the modified Gower distance. This parameter is used only when |
... |
arguments passed to |
Only a single argument between dist
, vegdist
and designdist
an be defined. An error message is sent if multiple arguments are defined simultaneously.
The function allow for transfo
and any one of dist
, vegdist
and designdist
to be used simultaneously. However, combining both pre-transformation and distances should only be carried out by expert users.
A vector of RV coefficients for each partial abundance. .
F. Guillaume Blanchet
1 2 3 4 5 6 7 8 9 10 | data(mite)
### Calculate partial abundance matrix (up to 35 individuals per site per species)
pAbundMite<-partAbund(mite,countThresh=35)
### Calculate RV coefficients for the partial abundance using Hellinger pre-transformation
RVpartAbund<-countingRV(mite, pAbundMite, transfo="hellinger")
### Calculate RV coefficients for the partial abundance using the modified Gower distance with a log base of 2
RVpartAbund<-countingRV(mite, pAbundMite, transfo="log",vegdist="altGower", logbase=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.