cormatrix_to_excel()now works correctly with openxlsx2 v1.16+. Fixed conditional formatting rule ordering to accommodate openxlsx2's new waterfall strategy (#361).
-
correlation()gains amissing=argument, similar tostats::cor(use=), for controlling how missing data is handled. -
correlation()converts numeric input variables automatically into factors whenmethod = "polychoric".
-
The
format()method for objects of classeasycormatrixgets azap_smallargument, 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
- Fix CRAN check issues.
- 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.
-
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.
-
distance_mahalanobis()is deprecated. Useperformance::check_outliers(method = "mahalanobis_robust")instead. -
The minimum needed R version has been bumped to
3.6.
-
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.
- Maintenance release for datawizard package update.
- Maintenance release for datawizard package update.
robustargument, which was deprecated in favour ofranktransformin0.6.1release, has now been removed.
- Bug fix in
plot()methods
- Removes
winsorize()function, which now lives indatawizardpackage.
- New
cor_smooth()function for smoothing non-positive definite matrices.
- When
data2was specifiedcorrelation()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 argumentrenameto rename variables. -
simualte_simpson()function is now re-exported frombayestestRpackage. -
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 thegroup_prefixargument). -
robustargument deprecated in favour ofranktransform.
-
correlationgains two new arguments:selectandselect2to select specific variables from dataframes to compare (#146). -
as.matrixmethod works for grouped correlations (#148). -
New
as.listmethod returns a list of various matrices related to correlation analysis (correlation, number of observations, p-values, etc.).
- The
0.6.0release 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
verbosearguments to some functions, to toggle warnings on/off. -
cor_test()(and hence,correlation()) now default thewinsorizeargument to.1when it's set toTRUE. -
The
Methodcolumn in output dataframe is now more explicit about the correlation method used.
- Winsorization doesn't fail when
NAs are present (#130).
- Fixed CRAN check issues due to changes in dependent packages.
-
Added
winsorize()function. -
Added
winsorizeargument for Winsorized correlations. -
Added
method = "somers"tocorrelation(), 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 fordisplay(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
Methodcolumn to Bayesian correlations. -
Fix bug when
robust=TRUE(#87).
-
Added confidence intervals CI support for Spearman and Kendall (#80)
-
Improved documentation (#45, #63)
-
Removed CI threshold column from
distance_mahalanobis() -
Fixed bug (#76)
- Some changes were made.
- Some bugs were fixed.
-
Initial CRAN release.
-
Add
plot()-method forsummary().
-
Fixed issue in
correlation()for some edge cases wheninclude_factors = TRUE. -
Fixed issue in
correlation()for correlation coefficients with less than four complete pairs of observations (in such cases,cor_test()now returnsNAfor the confidence intervals).