Skip to content

v0.3.0

Compare
Choose a tag to compare
@drsimonj drsimonj released this 11 Aug 09:31
e334061

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 and network_plot) will attempt to coerce objects to a correlation data frame (via as_cordf) if needed, making it possible to directly use these functions with other square-matrix-like objects.
  • repel option added to network_plot (default = TRUE).
  • curved option added to network_plot (default = TRUE).
  • correlate() now prints a message about the method and use parameters. Can be silenced with quiet = TRUE.
  • correlate() now supports data frame with a SQL back-end (tbl_sql)

Fixes

  • When legend = TRUE (now the default setting), rplot and network_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 to x'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