-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diagonal matrix #55
Diagonal matrix #55
Changes from 5 commits
c1d1ede
493ddca
1df2391
a2dfc60
625e035
af1f922
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,63 @@ | ||
# corrr 0.2.1.9000 | ||
|
||
## 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`. | ||
|
||
## 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 | ||
|
||
- 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. | ||
|
||
# corrr 0.2.1 | ||
|
||
## New Functionality | ||
|
||
- Can keep leading zeros when using `fashion()` with new argument `leading_zeros = TRUE`. | ||
- New optional arguments added to plotting functions, `network_plot()` and `rplot()`: | ||
- `legend` to display a legend mapping correlations to size and colour. | ||
- `colours` (or `colors`) 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 match `rplot()`. | ||
- Other bug fixes. | ||
|
||
# corrr 0.2.0 | ||
|
||
## New Functions | ||
|
||
- `network_plot()` the correlations. | ||
- `focus_()` for standard evaluation version of `focus()`. | ||
|
||
## New Functionality | ||
|
||
- `fashion()` will now attempt to work on any object (not just `cor_df`), making it useful for printing any data frame, matrix, vector, etc. | ||
- `print_cor` argument added to `rplot()` to overlay the correlations as text. | ||
|
||
## Other | ||
|
||
- `na_omit` argument in `stretch()` changed to `na.rm` to match `gather_()`. | ||
- Bug fixes. | ||
- Improvements. | ||
|
||
# corrr 0.1.0 | ||
|
||
# corrr 0.3.0.9999 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will also need to change this back |
||
|
||
## 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](https://github.com/drsimonj/corrr/issues/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`. | ||
|
||
## 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 | ||
|
||
- 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. | ||
|
||
# corrr 0.2.1 | ||
|
||
## New Functionality | ||
|
||
- Can keep leading zeros when using `fashion()` with new argument `leading_zeros = TRUE`. | ||
- New optional arguments added to plotting functions, `network_plot()` and `rplot()`: | ||
- `legend` to display a legend mapping correlations to size and colour. | ||
- `colours` (or `colors`) 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 match `rplot()`. | ||
- Other bug fixes. | ||
|
||
# corrr 0.2.0 | ||
|
||
## New Functions | ||
|
||
- `network_plot()` the correlations. | ||
- `focus_()` for standard evaluation version of `focus()`. | ||
|
||
## New Functionality | ||
|
||
- `fashion()` will now attempt to work on any object (not just `cor_df`), making it useful for printing any data frame, matrix, vector, etc. | ||
- `print_cor` argument added to `rplot()` to overlay the correlations as text. | ||
|
||
## Other | ||
|
||
- `na_omit` argument in `stretch()` changed to `na.rm` to match `gather_()`. | ||
- Bug fixes. | ||
- Improvements. | ||
|
||
# corrr 0.1.0 | ||
|
||
- First corrr release! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source | ||
PackageRoxygenize: rd,collate,namespace | ||
Version: 1.0 | ||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source | ||
PackageRoxygenize: rd,collate,namespace |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this back to
0.2.1.9000
. I tend to work as follows:0.3.0
).9000
)I tend to follow advice here.
Which reminded me, the next version should actually be
1.0.0
(due to backward compatible issue). Regardless, we'll wait until ready for a CRAN release.