`NEWS.md`

- Removes
`winsorize()`

function, which now lives in`datawizard`

package.

- New
`cor_smooth()`

function for smoothing non-positive definite matrices.

- When
`data2`

was specified`correlation()`

was over-correcting for all of the combinations of variables in the full x and y tables, rather than in just the ones specified (#195).

`correlation()`

gains a new argument`rename`

to rename variables.`simualte_simpson()`

function is now re-exported from`bayestestR`

package.`plot()`

for`"easycor_test"`

objects now produces an annotated scatter plot.

`simualte_simpson()`

: The groups are now named after the pattern`"G_"`

(can be altered with the`group_prefix`

argument).`robust`

argument deprecated in favour of`ranktransform`

.

`correlation`

gains two new arguments:`select`

and`select2`

to select specific variables from dataframes to compare (#146).`as.matrix`

method works for grouped correlations (#148).New

`as.list`

method returns a list of various matrices related to correlation analysis (correlation, number of observations,*p*-values, etc.).

- The
`0.6.0`

release introduced a bug in Winsorized Pearson correlation where the missing values were removed from the entire data, instead for each pair (#151). This is now fixed.

Added

`verbose`

arguments to some functions, to toggle warnings on/off.`cor_test()`

(and hence,`correlation()`

) now default the`winsorize`

argument to`.1`

when it’s set to`TRUE`

.The

`Method`

column in output dataframe is now more explicit about the correlation method used.

- Winsorization doesn’t fail when
`NA`

s are present (#130).

- Fixed CRAN check issues due to changes in dependent packages.

Added

`winsorize()`

function.Added

`winsorize`

argument for Winsorized correlations.Added

`method = "somers"`

to`correlation()`

, to compute Somers’s Dxy rank correlation for binary outcomes.New function

`display()`

, to print output into different formats. Currently, only markdown is supported.`print_md()`

is an alias for`display(format = "markdown")`

.

- Fix bug in
`cor_to_p()`

that gave slightly different test statistics.

Don’t error if less than 3 valid observations (#100).

Add “gaussian” rank method.

Add “gamma” method.

Add “hoeffding” method.

Add “blomqvist” method.

Added

`Method`

column to Bayesian correlations.Fix bug when

`robust=TRUE`

(#87).

Removed CI threshold column from

`distance_mahalanobis()`

Fixed bug (#76)

- Some changes were made.

- Some bugs were fixed.

Fixed issue in

`correlation()`

for some edge cases when`include_factors = TRUE`

.Fixed issue in

`correlation()`

for correlation coefficients with less than four complete pairs of observations (in such cases,`cor_test()`

now returns`NA`

for the confidence intervals).