View source: R/chi_square_goodness_of_fit_functions.R
get_df | R Documentation |
Compute the degrees of freedom for the input chi square test table using formula matching that of excel. Formula: df = (r-1)(c-1). If table has only one column, df = r - 1.
get_df(table)
table |
Either the expected or the observation table for the chi square test |
Degrees of freedom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.