Learn R Programming

mariposa (version 0.7.3)

print.summary.fisher_test: Print summary of Fisher's exact test results (detailed output)

Description

Displays the detailed output for Fisher's exact test, with sections controlled by the boolean parameters passed to summary.fisher_test. Sections include the contingency table and the test results table.

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

A summary.fisher_test object created by summary.fisher_test.

...

Additional arguments (not used).

See Also

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

Examples

Run this code
result <- fisher_test(survey_data, row = gender, col = region)
summary(result)                            # all sections
summary(result, contingency_table = FALSE) # hide contingency table

Run the code above in your browser using DataLab