Learn R Programming

mariposa (version 0.7.3)

print.summary.binomial_test: Print summary of binomial test results (detailed output)

Description

Displays the detailed SPSS-style output for a binomial test, with sections controlled by the boolean parameters passed to summary.binomial_test. Sections include the category table and the test statistics table with confidence interval.

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

A summary.binomial_test object created by summary.binomial_test.

...

Additional arguments (not used).

See Also

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

Examples

Run this code
result <- binomial_test(survey_data, gender, p = 0.50)
summary(result)                     # all sections
summary(result, categories = FALSE) # hide category tables

Run the code above in your browser using DataLab