Changelog
Source:NEWS.md
corrr 0.4.4
CRAN release: 2022-08-16
Make
colpair_map()
more robust to input column names, with the exception of “.data” and “.env” (@jameslairdsmith, #131).correlate()
now removes non-numeric columns from data frame inputs (@thisisdaryn, #139).autoplot.cor_df()
method have been added for quick generation of correlation chart.network_plot()
now allows the user the option to map the color range to the range of correlations that are in the inputrdf
(@thisisdaryn, #158).
corrr 0.4.3
CRAN release: 2020-11-24
Handle correlation of exactly zero or 1 in
network_plot()
(@s-scherrer, #89)Add
.order
argument torplot()
with options “default” and “alphabet” plus improved documentation (@mattwarkentin, #99 and @thisisdaryn, #114)Make
network_plot()
more robust, for example to highly correlated data (@thisisdaryn, #107)New
colpair_map()
allows for column comparisons using the values returned by an arbitrary function (@jameslairdsmith, #94).correlate()
now works with single-column data.frames and numeric vectors (@antoine-sachet, #122). Note thediagonal
argument is ignored in these 2 cases.network_plot()
now works withcor_df
objects with only 1 or 2 columns (@antoine-sachet, #122)The first column of a
cor_df
object is now named “term”. Previously it was named “rowname” (@thisisdaryn, #117).
corrr 0.3.2
CRAN release: 2019-04-20
Improves support for
tbl_sql()
objectsSwitches correlation calculation for
tbl_spark()
tables tosparklyr::ml_corr()
Fixes typo on error message (@jsta)
Removes Database vignette. Plan to re-add later on (#76)
Minor updates to Using corrr vignette
corrr 0.3.1
CRAN release: 2019-03-06
Fixes test and CRAN issues by removing
Ops.cor_df()
.Designates Edgar Ruiz as the new package maintainer
corrr 0.3.0
CRAN release: 2018-07-31
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, unlabeled 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
corrr 0.2.1
CRAN release: 2016-10-10
New Functionality
- Can keep leading zeros when using
fashion()
with new argumentleading_zeros = TRUE
. - New optional arguments added to plotting functions,
network_plot()
andrplot()
:-
legend
to display a legend mapping correlations to size and colour. -
colours
(orcolors
) to change colours in plot.
-
Fixes
-
network_plot()
no longer plots wrong colours if only positive correlations are included. - Colour scheme for
network_plot()
changed to matchrplot()
. - Other bug fixes.
corrr 0.2.0
CRAN release: 2016-08-11
New Functions
-
network_plot()
the correlations. -
focus_()
for standard evaluation version offocus()
.
Other
-
na_omit
argument instretch()
changed tona.rm
to matchgather_()
. - Bug fixes.
- Improvements.