Learn R Programming

vegan3d (version 0.65-1)

rgl.renyiaccum: Display 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, ...)

Arguments

x
A renyiaccum result.
rgl.height
Vertical scaling of the plot.
...
Other arguments passed to the function (ignored).

Value

  • Function returns nothing.

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
## Needs user interaction.

data(BCI)
mod <- renyiaccum(BCI[1:12,])
persp(mod)
rgl.renyiaccum(mod)

Run the code above in your browser using DataLab