rgl.renyiaccum: Dynamic Perspective Plot of Renyi Diversity Accumulation

rgl.renyiaccumR Documentation

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).

Details

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

Value

Function returns nothing.

Author(s)

Roeland Kindt.

See Also

renyiaccum, persp.renyiaccum, rgl.

Examples

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

vegan3d documentation built on May 29, 2024, 9:49 a.m.