plot_aggregate_histogram: Plot aggregated histogram for each digit weighted average...

View source: R/plotting_functions.R

plot_aggregate_histogramR Documentation

Plot aggregated histogram for each digit weighted average across each digit place with expected distribution.

Description

Plot aggregated histogram for each digit weighted average across each digit place with expected distribution.

Usage

plot_aggregate_histogram(
  observation_table,
  expected_table,
  freq_digit_place,
  name
)

Arguments

observation_table

Observation table for chi square test in frequency.

expected_table

Expected table for chi square test in frequency.

freq_digit_place

The frequency of each digit place in data. N in digit place i / total N.

name

Title for the plot.

Value

A ggplot instance for aggregated histogram.


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