t_out {schoRsch} | R Documentation |
Format t-Test Output
Description
Distilles the most relevant data from an output object of t.test
and displays the results in a compact format.
Usage
t_out(toutput, n.equal = TRUE,
welch.df.exact = TRUE, welch.n = NA,
d.corr = FALSE, print = TRUE)
Arguments
toutput |
Output object created by a call to |
n.equal |
Only applicable to two-sample t-tests. If sample sizes are not equal, |
welch.df.exact |
Only applicable to Welch-tests. Indicates whether Welch-adjusted or unadjusted degrees of freedom (dfs) are reported (default= |
welch.n |
Only applicable to Welch-tests with unadjusted degrees of freedom. Parameter should be equal to the total sample size |
d.corr |
Only applicable to one-sample or paired-samples t-tests. If |
print |
Force results to be displayed, even if the function output is assigned to a variable (e.g., |
Details
The output of a call to t_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
t_out(toutput,...)
returns a list containing (1) a description of the t-test (two-sample t-test, Welch-test, paired-samples t-test, one-sample t-test) and (2) a line with formatted results.
Author(s)
Roland Pfister, Markus Janczyk
See Also
t.test
; anova_out
; chi_out
; cor_out
;