powered by
Compact print method for objects of class "chi_square". Shows a one-line summary per test with test statistic, p-value, effect size, and sample size.
"chi_square"
For the full detailed output, use summary().
summary()
# S3 method for chi_square print(x, digits = 3, ...)
Invisibly returns the input object x.
x
An object of class "chi_square" returned by chi_square.
chi_square
Number of decimal places to display. Default is 3.
3
Additional arguments (not used).
result <- chi_square(survey_data, gender, education) result # compact one-line overview summary(result) # full detailed output
Run the code above in your browser using DataLab