chi_out: Format Chi-Squared Test Output

View source: R/chi_out.R

chi_outR Documentation

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

Force results to be displayed, even if the function output is assigned to a variable (e.g., output <- chi_out(...); logical; default=TRUE).

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).

Value

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

Author(s)

Daniel Gromer

See Also

chisq.test; anova_out; cor_out; t_out;


schoRsch documentation built on Nov. 2, 2022, 1:06 a.m.

Related to chi_out in schoRsch...