plot_all_digit_test: Plots the relevant plots for obseravtion table in...

View source: R/plotting_functions.R

plot_all_digit_testR Documentation

Plots the relevant plots for obseravtion table in all_digits_test.

Description

Plots the relevant plots for obseravtion table in all_digits_test.

Usage

plot_all_digit_test(
  digitdata,
  observation_table,
  expected_table,
  digit_places,
  title = "",
  plot = TRUE,
  save3Dfilename = "",
  kwargs = NA
)

Arguments

digitdata

A object of class DigitAnalysis.

observation_table

Observation table for chi square test

expected_table

Expected table for chi square test

digit_places

The indexes of left-aligned digit places to analyze. There are three options:

  • 'all': analyze all digits. Set as default.

  • An numeric array: Perform multiple digit test on the digit places desired to analyze.

  • A number: Perform single digit test on the digit place desired to analyze. If last digit test is desired, pass in -1 or c(-1).

title

The title for the plot after automatically generating the name for the test: either single digit test or all digit test.

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 plots automatically.


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