Learn R Programming

vegan3d (version 1.3-0)

rgl.renyiaccum: Dynamic Perspective Plot of Renyi Diversity Accumulation

Description

Function rgl.renyiaccum displays a dynamic 3D plot of the result of renyiaccum function in the vegan package. Function persp.renyiaccum (in vegan) produces similar static plots.

Usage

rgl.renyiaccum(x, rgl.height = 0.2, ...)

Value

Function returns nothing.

Arguments

x

A renyiaccum result.

rgl.height

Vertical scaling of the plot.

...

Other arguments passed to the function (ignored).

Author

Roeland Kindt.

Details

This is a graphical support function to renyiaccum in vegan. Similar static plots can be produced by persp.renyiaccum.

See Also

renyiaccum, persp.renyiaccum, rgl.

Examples

Run this code
if (interactive() && require(rgl, quietly = TRUE)){
data(BCI)
mod <- renyiaccum(BCI[1:12,])
persp(mod)
rgl.renyiaccum(mod)
}

Run the code above in your browser using DataLab