betadiversity | R Documentation |
The function betadiversity
estimates the beta diversity as the
instantenous rate of change at any gradient point.
betadiversity(object, x, ...)
## S3 method for class 'betadiversity'
plot(x, type="b", xlab, ylab, splines = FALSE, ...)
object |
A response frame object: Fitted models for species. |
x |
Gradient values. |
type |
Type of graph. |
xlab , ylab |
Axis labels; defaults provided if these are missing. |
splines |
Use interpolating |
... |
Other parameters. |
The function finds the instantenous rate of change along the gradient from the fitted response functions for species.
Currently the function is implemented for HOF
models
only.
The function has a plot
method.
The function returns an object of class "betadiversity"
with
the following items:
x |
Used gradient values. |
beta |
Beta diversity at the gradient points. |
...
Jari Oksanen
Oksanen, J. & Tonteri, T. (1995). Rate of compositional turnover along gradients and total gradient length. Journal of Vegetation Science 6, 815-824.
HOF
.
data(mtf01)
data(mtf.alt)
attach(mtf.alt)
mod <- HOF(mtf01, Altitude, 1)
x <- seq(min(Altitude), max(Altitude), len=101)
beta <- betadiversity(mod, x)
plot(beta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.