Open IndrajeetPatil opened 3 years ago
This is not going to be straightforward unfortunately.
correlation
works with raw data and computes correlations, while parameters
works with correlation test related htest
objects. We will have to implement something like cor_to_ci()
in parameters
itself so that the returned summary dataframes already contain confidence intervals.
I think the most straightforward way is to implement report's support for correlation objects (easycorrelation class), and then people will just have to use correlation::cor_test()
or correlation::correlation()
with report if they want the comprehensive report 🤷
We do this only for Pearson's. But
correlation
also returns CIs for these other measures that we can utilize for reporting.