Learn R Programming

unfoldr (version 0.7.1)

trivarHist: Trivariate histogram

Description

3D plot of a trivariate histogram

Usage

trivarHist(A, main = paste("Trivariate Histogram"), scale = 0.5, col, ...)

Arguments

A

3D array of count data (estimated histogram), see unfold

main

main title of the plot

scale

scaling factor for non-overlapping spheres

col

vector of color values repeatedly used for all classes

...

graphical parameters passed to rgl::spheres3d

Details

The (estimated spatial) joint size-shape-orientation distribution is plotted in a 3D histogram with corresponding axes. The axes intersect in the first class number. The ball volumes visualize the relative frequencies of count data for each class which can be scaled by the user in order to make the spheres non-overlapping. Balls within the same size class have the same color. For an example please see the file 'almmc.R'.