renyi
(renyiresult(x,y="",factor,level,method="all",
scales=c(0,0.25,0.5,1,2,4,8,Inf),evenness=F,...)
renyiplot(xr,addit=F,pch=1,ylim=c(0,m),labelit=T,legend=T,col=1,cex=1,
rainbow=T,evenness=F,...)
renyiaccumresult(x,y="",factor,level,
scales=c(0,0.25,0.5,1,2,4,8,Inf),permutations=100,...)
renyicomp(x,y,factor,sites=Inf,
scales=c(0,0.25,0.5,1,2,4,8,Inf),permutations=100,plotit=T,...)
renyi
(renyi
or renyiresult
.points
).points
).points
).renyiaccum
).renyi
is always used to calculate the diversity profiles.
The method of calculating the diversity profiles: "all" calculates the diversity profile of the entire community (all sites pooled together), whereas "s" calculates the diversity profile of each site separatedly. The evenness profile is calculated by subtracting the profile value at scale 0 from all the profile values.
Functions renyiresult
, renyiaccumresult
and renyicomp
allow to calculate diversity profiles for subsets of the community and environmental data sets. functions renyiresult
and renyiaccumresult
calculate the diversity profiles for the specified level of a selected environmental variable. Method renyicomp
calculates the diversity profile for all levels of a selected environmental variable separatedly.
Functions renyicomp
and renyiaccumresult
calculate accumulation curves for the Renyi diversity profile by randomised pooling of sites and calculating diversity profiles for the pooled sites as implemented in renyiaccum
. The method is similar to the random method of species accumulation (specaccum
). If the number of "sites" is not changed from the default, it is replaced by the sample size of the level with the fewest number of sites.library(vegan)
data(dune.env)
data(dune)
Renyi.1 <- renyiresult(dune, y=dune.env, factor='Management', level='NM',
method='s')
Renyi.1
renyiplot(Renyi.1, evenness=FALSE, addit=FALSE, pch=1,col='1', cex=1,
legend=FALSE)
## CLICK IN THE GRAPH TO INDICATE WHERE THE LEGEND NEEDS TO BE PLACED
## IN CASE THAT YOU OPT FOR LEGEND=TRUE
Run the code above in your browser using DataLab