Just prints the normal output of stats::cor.test().

knit_print.htest(x, indent = "#####", ...)

Arguments

x

a psych alpha object

indent

add # to this to make the headings in the components lower-level. defaults to beginning at h5

...

ignored

Examples

knitr::knit_print(cor.test(rnorm(100), rnorm(100)))
#> #> #> #> ``` #> #> Pearson's product-moment correlation #> #> data: rnorm(100) and rnorm(100) #> t = -1.2783, df = 98, p-value = 0.2042 #> alternative hypothesis: true correlation is not equal to 0 #> 95 percent confidence interval: #> -0.31652398 0.07011384 #> sample estimates: #> cor #> -0.128068 #> #> ``` #> #> #>