View source: R/chi_square_goodness_of_fit_functions.R
drop_disqualified_columns | R Documentation |
Drops disqualified columns in both expected and observed table if in expected table at least one cell in that column has expected value < 5, conforming to the principles of chi square test.
drop_disqualified_columns(observed_table, expected_table, freq = TRUE)
observed_table |
Observation table for chi square test |
expected_table |
Expected table for chi square test |
freq |
TRUE or FALSE: Whether the input expected table is in decimal. |
A list with modified observed_table
and expected_table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.