hist_3d: Plot 3D histogram. The display follows that rows will be...

View source: R/plotting_functions.R

hist_3dR Documentation

Plot 3D histogram. The display follows that rows will be x-axis, and columns will be y-axis.

Description

Plot 3D histogram. The display follows that rows will be x-axis, and columns will be y-axis.

Usage

hist_3d(
  data,
  digitdata,
  xlab = "Digits",
  ylab = "Digit Places",
  zlab = "Frequency",
  title = "3D Barplot",
  theta = 55,
  phi = 16,
  plot = TRUE,
  save3Dfilename = "",
  kwargs = NA
)

Arguments

data

The 2D dataframe to be plotted.

digitdata

A object of class DigitAnalysis.

xlab

x-axis label. Defaulted to 'digits'.

ylab

y-axis label. Defaulted to 'frequency'.

zlab

z-axis label. Defaulted to 'frequency'.

title

Plot title. Defaulted to '2D Histogram'.

theta

x-y (left-right) viewing angle. Defaulted to 55.

phi

xy-z (up-down) viewing angle. Defaulted to 16.

plot

TRUE or FALSE or 'Save': If TRUE, display the plots and return them. If 'Save', return the plots but suppress display. If FALSE, no plot is produced. Default to TRUE.

save3Dfilename

If specified, will save the 3D barplot to apdf named as the input name + break out and category specification. Defaulted to ”.

kwargs

extra parameters to pass into 3D plotting; dnt use it now, error prone! Defaulted to NA. Don't try to use it!!!!!!!!!

Value

Nothing is returned. Displays a plot3D 3d plot automatically.


jlederluis/digitanalysis documentation built on Nov. 5, 2023, 11:46 a.m.