Learn R Programming

extracat (version 1.6-4)

fluctile3d: 3d fluctuation diagram

Description

Uses rgl to create a 3-dimensional fluctuation diagram.

Usage

fluctile3d(x, shape = "cube", col = "darkgrey", col.array = NULL,
alpha = 0.8, add = FALSE, lab = TRUE,...)

Arguments

x
A 3-dimensional data table or array.
shape
Either "cube" for cubes or "oct" for octahedrons.
col
The color of the cubes.
col.array
An optional array with colors for the cubes.
alpha
The alpha-value of the cubes.
add
whether to create a new plot or to add the cases to an existing one.
lab
whether or not to draw labels
...
dots

Value

  • TRUE

See Also

fluctile

Examples

Run this code
A <- arsim(1000,c(5,7,9),3)
fluctile3d(A)

fluctile3d(A,shape="oct")

fluctile3d(A,shape="oct", col.array = f3dcol(A,dims=2,col.fun=rainbow_hcl))

Run the code above in your browser using DataLab