View source: R/all_digit_test_helper_functions.R
parse_contingency_table | R Documentation |
Parse the contingency table to have exclusively the desired digits and digit places
parse_contingency_table(
digitdata,
contingency_table,
digit_places,
skip_first_digit,
skip_last_digit,
omit_05
)
digitdata |
A object of class |
contingency_table |
The user-input probability table of arbitrary distribution. Overwrites
|
digit_places |
The indexes of left-aligned digit places to analyze. There are three options:
|
skip_first_digit |
TRUE or FALSE: If TRUE, skip first digit place before analysis. Default to FALSE. |
skip_last_digit |
TRUE or FALSE: If TRUE, skip last digit place before analysis, since we don't want tests to overlap. Default to FALSE.
|
omit_05 |
Whether to omit 0 or both 0 and 5. If omit both 0 and 5, pass in c(0,5) or c(5,0); if omit only 0 pass in 0 or c(0); if omit neither, pass in NA. Default to NA. |
Contingency table with exclusively the desired digits and digit places
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.