Changes in version 0.8.9 Bug Fixes - cormatrix_to_excel() now works correctly with openxlsx2 v1.16+. Fixed conditional formatting rule ordering to accommodate openxlsx2's new waterfall strategy (#361). Changes in version 0.8.8 (2025-07-08) - correlation() gains a missing= argument, similar to stats::cor(use=), for controlling how missing data is handled. - correlation() converts numeric input variables automatically into factors when method = "polychoric". Changes in version 0.8.7 (2025-03-03) - The format() method for objects of class easycormatrix gets a zap_small argument, to round very small numbers. - cor_sort() can now deal with non-square matrices. - Updated required R version to >= 4.1.0 (released May 2021) to pass CRAN checks on documentation Changes in version 0.8.6 (2024-10-26) - Fix CRAN check issues. Changes in version 0.8.5 (2024-06-16) - New cormatrix_to_excel() function for exporting correlation matrices to Excel with color formatting. - This release changes the licensing model of {correlation} to an MIT license. Changes in version 0.8.4 (2023-04-06) - Minor improvements and code revisions due to changes in other packages. - Default color scheme for correlation matrices switched to use red for negative values and blue for positive values. Changes in version 0.8.3 (2022-10-08) Breaking Changes - distance_mahalanobis() is deprecated. Use performance::check_outliers(method = "mahalanobis_robust") instead. - The minimum needed R version has been bumped to 3.6. Minor Changes - Fixes breakages caused by updates to parameters package (#269). - The visualization recipe (plots) for redundant correlation matrices was improved, so self-correlations will no longer be labelled and get a neutral color. - The print() method redundant correlation matrices no longer shows the diagonal with self-correlations. Changes in version 0.8.2 (2022-08-09) - Maintenance release for datawizard package update. Changes in version 0.8.1 (2022-05-20) - Maintenance release for datawizard package update. Changes in version 0.8.0 (2022-02-14) Breaking Changes - robust argument, which was deprecated in favour of ranktransform in 0.6.1 release, has now been removed. Changes in version 0.7.1 (2021-10-06) Bug Fixes - Bug fix in plot() methods Changes in version 0.7.0 (2021-09-05) Breaking Changes - Removes winsorize() function, which now lives in datawizard package. New Features - New cor_smooth() function for smoothing non-positive definite matrices. Bug Fixes - 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). Minor Changes - 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. Changes in version 0.6.1 (2021-04-09) Breaking Changes - 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. New Features - 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.). Bug Fixes - 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. Changes in version 0.6.0 (2021-02-12) New Features - 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. Bug Fixes - Winsorization doesn't fail when NAs are present (#130). Minor Changes - Fixed CRAN check issues due to changes in dependent packages. Changes in version 0.5.0 (2020-12-02) Changes - 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"). Bug fixes - Fix bug in cor_to_p() that gave slightly different test statistics. Changes in version 0.4.0 (2020-09-27) Changes - Don't error if less than 3 valid observations (#100). - Add "gaussian" rank method. - Add "gamma" method. - Add "hoeffding" method. - Add "blomqvist" method. Bug fixes - Added Method column to Bayesian correlations. - Fix bug when robust=TRUE (#87). Changes in version 0.3.0 (2020-06-19) Changes Bug fixes Changes in version 0.2.1 (2020-05-05) Changes - Added confidence intervals CI support for Spearman and Kendall (#80) - Improved documentation (#45, #63) Bug fixes - Removed CI threshold column from distance_mahalanobis() - Fixed bug (#76) Changes in version 0.2.0 (2020-04-09) Changes - Some changes were made. Bug fixes - Some bugs were fixed. Changes in version 0.1.0 (2020-03-16) Changes - Initial CRAN release. - Add plot()-method for summary(). Bug fixes - 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).