View source: R/chi_square_goodness_of_fit_functions.R
chi_square_gof | R Documentation |
expected_table
with 2D and/or 3D histograms accordingly if specified.Performs chi square test for goodness of fit test. Plots expected_table
with 2D and/or 3D histograms accordingly if specified.
chi_square_gof(
observed_table,
expected_table,
freq = TRUE,
suppress_low_N = FALSE
)
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. |
suppress_low_N |
TRUE or FALSE: If TRUE, suppress columns in expected table if at least one cell in that column has expected value < 5. Default to FALSE. |
p-value for chi square goodness of fit test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.