summary.goodness: Summary method for the goodness function
Description
Summary method for the goodness function
Usage
# S3 method for goodness
summary(object, check = "", dec = 2, ...)
Arguments
object
Return value from goodness
check
Show table(s) for the selected variable (var). "observed" for the observed frequencies table, "expected" for the expected frequencies table (i.e., frequencies that would be expected if the null hypothesis holds), "chi_sq" for the contribution to the overall chi-squared statistic for each cell (i.e., (o - e)^2 / e), "dev_std" for the standardized differences between the observed and expected frequencies (i.e., (o - e) / sqrt(e)), and "dev_perc" for the percentage difference between the observed and expected frequencies (i.e., (o - e) / e)
dec
Number of decimals to show
...
further arguments passed to or from other methods.