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_cordf
will coerce lists or matrices into correlation data frames if possible.focus_if
enables conditional variable selection.
New Functionality
- Can use arithmetic operators (e.g.,
+
or-
) with correlation data frames. - Plotting functions (
rplot
andnetwork_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. repel
option added tonetwork_plot
(default =TRUE
).curved
option added tonetwork_plot
(default =TRUE
).correlate()
now prints a message about themethod
anduse
parameters. 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),rplot
andnetwork_plot
generate 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