hist3d.io: 3D Histogram of Input-Output object

Description Usage Arguments Details Examples

View source: R/hist3d.io.R

Description

Produces a three dimensional histogram from plot3d

Usage

1
2
hist3d.io(obj, alpha = 1, phi = 65, theta = 45, limits, 
                   colors = ramp.col(c('yellow', 'violet', 'blue')))

Arguments

obj

The nxm matrix to be plotted

alpha

The transparency of bars where 1 is opaque and 0 is complete transparency. Default is 1

phi

Colatitude rotation (shaking head left and right)

theta

Colatitude rotation (nodding up and down)

limits

The lower and upper bound for color limits

colors

A ramp.col() for the 3D histogram

Details

Uses hist3D from the package plot3d to generate a 3D plot

Examples

1
2
3
4
5
data(toy.IO)
obj = toy.IO$Z[1:5, 1:5]

hist3d.io(obj, alpha = 0.7)
  

Example output

Loading required package: ggplot2
Loading required package: plot3D
Loading required package: lpSolve
Warning message:
no DISPLAY variable so Tk is not available 

ioanalysis documentation built on Jan. 13, 2021, 5:16 p.m.