Learn R Programming

schoRsch (version 1.2)

chi_out: Format Chi-Squared Test Output

Description

Distilles the most relevant data from an output object of chisq.test and displays the results in a compact format.

Usage

chi_out(chioutput, show.n = FALSE, print = TRUE)

Arguments

chioutput
Output object created by a call to chisq.test.
show.n
Display sample size (logical; default=FALSE)
print
Display results (logical; default=TRUE).

Value

chi_out(chioutput,...) returns a data.frame containing (1) a description of the test and (2) a line with formatted results.

Details

The output of a call to chi_out is formatted according to the guidelines of the APA (American Psychological Association) as well as the DGPs ("Deutsche Gesellschaft fuer Psychologie"; German Psychological Society).

See Also

chisq.test; anova_out; cor_out; t_out;