powered by
Compact print method for objects of class "fisher_test". Shows a one-line summary with the exact p-value, significance stars, and sample size.
"fisher_test"
For the full detailed output (contingency table, test results), use summary().
summary()
# S3 method for fisher_test print(x, digits = 4, ...)
Invisibly returns the input object x.
x
An object of class "fisher_test"
Number of decimal places (default: 4)
Additional arguments (currently unused)
result <- fisher_test(survey_data, row = gender, col = region) result # compact one-line overview summary(result) # full detailed output
Run the code above in your browser using DataLab