Description Usage Arguments Details Value Author(s) See Also Examples
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.
1 | rgl.renyiaccum(x, rgl.height = 0.2, ...)
|
x |
A |
rgl.height |
Vertical scaling of the plot. |
... |
Other arguments passed to the function (ignored). |
This is a graphical support function to renyiaccum
in vegan. Similar static plots can be produced by
persp.renyiaccum
.
Function returns nothing.
Roeland Kindt.
renyiaccum
, persp.renyiaccum
,
rgl
.
1 2 3 4 5 6 | if (interactive() && require(rgl, quietly = TRUE)){
data(BCI)
mod <- renyiaccum(BCI[1:12,])
persp(mod)
rgl.renyiaccum(mod)
}
|
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-4
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.