Distilles the most relevant data from an output object of cor.test
and displays the results in a compact format.
cor_out(coroutput, stats = FALSE, print = TRUE)
cor_out(coroutput,...)
returns a line containing the formatted correlation results.
Output object created by a call to cor.test
.
If TRUE
, the output includes t-values and corresponding degrees of freedom (default=FALSE
.
Force results to be displayed, even if the function output is assigned to a variable (e.g., output <- cor_out(...)
; logical; default=TRUE
).
Markus Janczyk, Roland Pfister
The output of a call to cor.test
is formatted according to the guidelines of the APA (American Psychological Association) as well as the DGPs ("Deutsche Gesellschaft fuer Psychologie"; German Psychological Society).