
expq(x, q)
expq.CommunityProfile(Profile)
x
containing the transformed values or a CommunityProfile
.expq.CommunityProfile
calculates the deformed exponential of a CommunityProfile
. Its $x
item (the order of dversity) is kept unchanged whilst other items are set to their exponential of order $x
. Thus, an entropy profile is transformed into a diversity profile.expq
curve(exp(x), -5, 0, lty=3)
curve(expq(x, 2), -5, 0, lty=2, add=TRUE)
curve(expq(x, 3), -5, 0, lty=1, add=TRUE)
legend("topleft", legend = c("exp(x)", "exp2(x)", "exp3(x)"), lty = c(1, 2, 3), inset=0.02)
Run the code above in your browser using DataLab