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, df = 100, p-value = 0.2 #> alternative hypothesis: true correlation is not equal to 0 #> 95 percent confidence interval: #> -0.32 0.07 #> sample estimates: #> cor #> -0.13 #> #> ``` #> #> #>