Learn R Programming

mariposa (version 0.7.3)

print.summary.chisq_gof: Print summary of chi-square goodness-of-fit results (detailed output)

Description

Displays the detailed output for a chi-square goodness-of-fit test, with sections controlled by the boolean parameters passed to summary.chisq_gof. Sections include per-variable frequency tables and the test statistics table.

Usage

# S3 method for summary.chisq_gof
print(x, ...)

Value

Invisibly returns the input object x.

Arguments

x

A summary.chisq_gof object created by summary.chisq_gof.

...

Additional arguments (not used).

See Also

chisq_gof for the main analysis, summary.chisq_gof for summary options.

Examples

Run this code
result <- chisq_gof(survey_data, gender)
summary(result)                          # all sections
summary(result, frequency_table = FALSE) # hide frequency tables

Run the code above in your browser using DataLab