v0.3.0
Small breaking changes
The diagonal argument of as_matrix and as_matrix.cor_df is now an optional argument rather than set to 1 by default #52
New Functions
as_cordfwill coerce lists or matrices into correlation data frames if possible.focus_ifenables conditional variable selection.
New Functionality
- Can use arithmetic operators (e.g.,
+or-) with correlation data frames. - Plotting functions (
rplotandnetwork_plot) will attempt to coerce objects to a correlation data frame (viaas_cordf) if needed, making it possible to directly use these functions with other square-matrix-like objects. repeloption added tonetwork_plot(default =TRUE).curvedoption added tonetwork_plot(default =TRUE).correlate()now prints a message about themethodanduseparameters. Can be silenced withquiet = TRUE.correlate()now supports data frame with a SQL back-end (tbl_sql)
Fixes
- When
legend = TRUE(now the default setting),rplotandnetwork_plotgenerate a single, unlabelled legend referring to the size of the correlations.
Other
-
correlate()is now an S3 method so that it can adapt tox's object type. -
During the development of this version, ggplot v2.2.0 was released. Many changes in the plotting functions have been made to handle new features in the updated version of ggplot2.
-
Improvements to the package folder structure