Skip to content

Commit

Permalink
version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoern Koneswarakantha authored and cran-robot committed Apr 1, 2019
1 parent 6145583 commit c1be73d
Show file tree
Hide file tree
Showing 91 changed files with 16,423 additions and 3,614 deletions.
12 changes: 7 additions & 5 deletions DESCRIPTION
@@ -1,6 +1,6 @@
Package: easyalluvial
Title: Generate Alluvial Plots with a Single Line of Code
Version: 0.1.8
Version: 0.2.0
Authors@R: person( "Bjoern", "Koneswarakantha", role = c("aut","cre"), email = "datistics@gmail.com", comment = c(ORCID = " 0000-0003-4585-7799") )
URL: https://github.com/erblast/easyalluvial
Description: Alluvial plots are similar to sankey diagrams and visualise categorical data
Expand All @@ -22,13 +22,15 @@ LazyData: true
Depends: R(>= 2.10)
Suggests: testthat, covr, ISLR, nycflights13, vdiffr
RoxygenNote: 6.1.1
Imports: purrr , tidyr , dplyr , forcats , ggalluvial , ggplot2 ,
RColorBrewer , recipes , rlang , stringr , magrittr , tibble
Imports: purrr , tidyr , dplyr , forcats , ggalluvial (>= 0.9.1) ,
ggplot2 (>= 3.1.0) , ggridges , RColorBrewer , recipes (>=
0.1.5) , rlang , stringr , magrittr , tibble , caret , progress
, gridExtra , randomForest , e1071
Language: en-US
NeedsCompilation: no
Packaged: 2019-01-14 23:56:41 UTC; bjoer
Packaged: 2019-03-31 23:18:38 UTC; bjoer
Author: Bjoern Koneswarakantha [aut, cre] (<https://orcid.org/
0000-0003-4585-7799>)
Maintainer: Bjoern Koneswarakantha <datistics@gmail.com>
Repository: CRAN
Date/Publication: 2019-01-15 05:30:03 UTC
Date/Publication: 2019-04-01 11:20:12 UTC
126 changes: 90 additions & 36 deletions MD5
@@ -1,53 +1,107 @@
605663dbacdf767acb771af7888a44b1 *DESCRIPTION
61f79bb5cec6a55edee9e2198b1f51f4 *NAMESPACE
f563ab9307b6fb84269ab6fe25ea44c9 *NEWS.md
8b8a4509c1bbb8334bb6a2a74ea7eec9 *R/alluvial_long.R
46fa72057d224deefa357e26a5d3f72e *R/alluvial_wide.R
f07ed85f4859a424b70260d8c5094cc9 *R/data.R
0f99e3959c184a9c6e5c819ae195e6b2 *R/manip.R
3f9e59d757ce6d00e8a4ed004be948d8 *R/palette.R
1506d28b9b848383484d7e5a59123a17 *R/plot_condensation.R
901076d9433dcf8fbf111ab1212b6775 *README.md
191b120b2e8824723366a03413547df2 *DESCRIPTION
eab568b04a9bee4afb3cf8f627b8d0eb *NAMESPACE
298fe5e897c156906bd454489afceb68 *NEWS.md
fd9b0add2c0d6e8b9c3de74c880e6ebb *R/alluvial_long.R
48e7b0520950060564de8324062b4b49 *R/alluvial_model_response.R
999806fea05c2986afc60b2de72e8c0d *R/alluvial_wide.R
4a28aae22e302fdc3c899c51a3ec7678 *R/data.R
eeac909813da4ab2b3916e051119729b *R/manip.R
4973bcb0d0e678e026150f6f52920c3a *R/palette.R
882f5e9d7640dee134d0fd273f7b610e *R/plot_condensation.R
c831dbfc34b4052c867e55d00ea509af *R/plot_imp.R
5745251e5c0c0a3c6febc90fa0f3d39d *R/plot_marginal_hist.R
4ec268c8822cda2e09c461e670cc525e *README.md
df928bc4123cbc7a71a6e038c7267d49 *data/mtcars2.rda
20efe0a231dae1ee2ead48c4c29a35c2 *data/quarterly_flights.rda
0f5e8f573558e3abe20c25a6b5eb9fb1 *data/quarterly_sunspots.rda
cbc6538b6501fc26d39c449d8eddbb5f *inst/logo/logo.R
dd1deef1b02ec41d9e5840ac9fe01e4b *inst/logo/logo_easyalluvial.png
64f86ce8868c483015e907a70e0fec8a *man/alluvial_long.Rd
067d7cf185f23393bb73fd17f65618c7 *man/alluvial_wide.Rd
4cb9bc651a47f826c24cf6338a3cef00 *man/figures/README-plot_long-1.png
40d2bf6d4af9b2e55dc0b36cbb64932f *man/figures/README-wide_plot-1.png
9f6c881e86ac81b258ba6d94613c1e74 *man/manip_bin_numerics.Rd
e2c0b9b227af9a640aa370d7d08d4e42 *man/add_imp_plot.Rd
1aa909be831f53290c87709192e99579 *man/add_marginal_histograms.Rd
0789ab641f82e376953fc662508b8c00 *man/alluvial_long.Rd
236630cbee5fed13d4c8daaac45e53e4 *man/alluvial_model_response.Rd
5f1380b6f0c0675bf71d2312d4790b80 *man/alluvial_model_response_caret.Rd
f06e06a408d32d741b84546aa76cf652 *man/alluvial_wide.Rd
65b50caba5c93e497b3b78aa96f5bb9a *man/figures/README-plot_long-1.png
f5f73014f3c6f96fe996227000e8c9f6 *man/figures/README-unnamed-chunk-3-1.png
bce342826d9758b26de5387e07804d90 *man/figures/README-unnamed-chunk-4-1.png
603f0ccd137624f277b85f410c75d8fc *man/figures/README-wide_plot-1.png
5778930819c8be1c6107d8f904a331b9 *man/get_data_space.Rd
180ab61a11b843c745b5e5232f6e9f5c *man/get_pdp_predictions.Rd
04d9052686e33747f6e7e719dbd14795 *man/manip_bin_numerics.Rd
04b3dc28fac35ea0535ffcd67e2f811d *man/manip_factor_2_numeric.Rd
13711f61a45e208acfbad1a03e4342ce *man/mtcars2.Rd
f12e62cc3a414f0bd260e170b0ae04f3 *man/palette_filter.Rd
f6fda596f1d6257b07f2349b036dcbe1 *man/palette_increase_length.Rd
89b65160fba64ab0e51452ba1557a840 *man/palette_plot_intensity.Rd
0574e85dde567612bcf5489e20b52e4c *man/palette_plot_rgp.Rd
4245b73926c197cf62b6fc8f12447b97 *man/palette_qualitative.Rd
e6fe174ebc30daaf2c90f1ea05643a50 *man/palette_qualitative.Rd
6578916aa0822ccff7b13cd6bac5bb8a *man/pdf/easyalluvial_manual.pdf
b3a9a7dafe1821b26903ed13e94d3a30 *man/plot_condensation.Rd
d30939d0477b6977385c230f4047fe38 *man/plot_all_hists.Rd
d938d60a7d86f7932aa6e004bc79dfb6 *man/plot_condensation.Rd
a37330c5331ec85648305e02fb01492c *man/plot_hist.Rd
14912479f5adba67185e3b3457a5b45d *man/plot_imp.Rd
dcd56512ef6bdb6e7196918315669eae *man/quarterly_flights.Rd
1cb2b72ccb435d959a2a6dbcb462a19c *tests/figs/alluvial-long/long-fill-carrier.svg
beafffadd69d5c8ca77edb3a44f7c338 *tests/figs/alluvial-long/long-fill-first.svg
3c12491bb443938412177a10bd006f7a *tests/figs/alluvial-long/long-fill-last.svg
39b9ae7cb42e54b651328ade039d2ae8 *tests/figs/alluvial-long/long-fill-to-right.svg
475180bcf55ed6aa4995926d1ff3d69f *tests/figs/alluvial-long/long-fill-value.svg
5d56a4b5396460e57dc1443eebb98867 *tests/figs/alluvial-long/long-reorder-carrier-by-size.svg
a081a7ac6753a09a74c7b20413ccf1da *tests/figs/alluvial-long/long-reorder-x-levels.svg
0ba7174c51820b16b89c69735c7019a8 *tests/figs/alluvial-long/long-reorder-y-levels.svg
649af5fe8100307b9d5c2733c784ba66 *tests/figs/alluvial-long/long-sprecify-color.svg
99296de66f6781cf08606acbaf2f3d3f *tests/figs/alluvial-wide/wide-all-flows.svg
903eea83356f715e3a25c4d2b7b2dd38 *tests/figs/alluvial-wide/wide-first.svg
9034660155c6cded3d0cdf76bf7bbe1d *tests/figs/alluvial-wide/wide-islr-cars-rotate-labels.svg
b8bb09042edc0567503d9ef0ee9e9788 *tests/figs/alluvial-wide/wide-islr-cars.svg
f6b67a7fabf54155f9c7f5c6e7c22138 *tests/figs/alluvial-wide/wide-last.svg
6e48abc8f407fbeb443eeeccfe73699c *tests/figs/alluvial-wide/wide-reorder-y-levels.svg
82963089dff64730e160b9c7f8b8809a *tests/figs/alluvial-wide/wide-values.svg
025fcff0eddf1bb4b057c923f172f3ca *man/quarterly_sunspots.Rd
dbfff05fe5acde868a66c6d40050f9a9 *man/tidy_imp.Rd
620f9c3f249a0f6e21a32f2d63dae4ae *man/use_e1071.Rd
997fe286b8f63cf5595de36112c341fb *tests/figs/alluvial-long/long-all-nums-plus-fill.svg
dc09e4de357e5fe14539e4b86dc0944c *tests/figs/alluvial-long/long-all-nums.svg
6e59b4dd5e4108d2d6a7c25c60f27a38 *tests/figs/alluvial-long/long-fill-carrier.svg
fb69a94718dc19e2061c4f139e589090 *tests/figs/alluvial-long/long-fill-first.svg
1f7f5b0a96f07d267b5c7d47495b0229 *tests/figs/alluvial-long/long-fill-last.svg
680d6652be32a83210260a447c209aa2 *tests/figs/alluvial-long/long-fill-to-right.svg
fa65eb707a862a4653598967fa381dae *tests/figs/alluvial-long/long-fill-value.svg
139a15aca55197eecc55964cd9cc8643 *tests/figs/alluvial-long/long-reorder-carrier-by-size.svg
fa737f2dfb6f91e11084e212df16ddd3 *tests/figs/alluvial-long/long-reorder-x-levels.svg
3374d0e0d7243ba050c9439e63f4c64e *tests/figs/alluvial-long/long-reorder-y-levels.svg
89744dfb037a1bf511ac9b634c000254 *tests/figs/alluvial-long/long-sprecify-color.svg
358d6917ede10f103ff8ec5e5fce5678 *tests/figs/alluvial-model-response/model-response-caret-cat-bi.svg
115458acd203416b998ba2fa50ee5223 *tests/figs/alluvial-model-response/model-response-caret-cat-multi.svg
d67328da1071a094a807c9e5fdf168e4 *tests/figs/alluvial-model-response/model-response-caret-lm-pdp.svg
f958ffdc7dee12c98def9b44d210346d *tests/figs/alluvial-model-response/model-response-caret-lm.svg
fa7a81108eaca214f7e29572f45c0341 *tests/figs/alluvial-model-response/model-response-caret-new-labs.svg
37152a839c55a433d56a7fb78eabeb2c *tests/figs/alluvial-model-response/model-response-caret-rf.svg
39bce595caaaaf5d78d70b913c317869 *tests/figs/alluvial-model-response/model-response-cat-bi.svg
1253b22fb6312b55e81ab96f568048d3 *tests/figs/alluvial-model-response/model-response-cat-multi.svg
b70b5acbe0e05cc2efcaabc685f90aaf *tests/figs/alluvial-model-response/model-response-new-change-bins-3.svg
d5c99a27ccc259a92e2685e22da8d4a9 *tests/figs/alluvial-model-response/model-response-new-change-bins-7.svg
9864c3633d8f6ab86713b3f45f74a14f *tests/figs/alluvial-model-response/model-response-new-labs.svg
ed88b8525b2d22e55b74751b89a5f825 *tests/figs/alluvial-model-response/model-response-pdb.svg
2273aab33e5537a852f45763a664618d *tests/figs/alluvial-model-response/model-response.svg
b885e535746e9fd7d5063fe00e2601ab *tests/figs/alluvial-model-response/p-imp-nfeats-equal-degree.svg
db1e6e11e64e540f7f38c6502e6befab *tests/figs/alluvial-wide/wide-all-flows.svg
5ab5f9a5c4bf7987ecf923090c6f60da *tests/figs/alluvial-wide/wide-first.svg
160b2d44856e6043a992a67752e17ddd *tests/figs/alluvial-wide/wide-islr-cars-rotate-labels.svg
5aa081e00a27f944683546a9ba29a391 *tests/figs/alluvial-wide/wide-islr-cars.svg
c34ea797e22b4db70021ffe9025cda02 *tests/figs/alluvial-wide/wide-last.svg
46ac2a22ed1bc2b19e6ac612112d1621 *tests/figs/alluvial-wide/wide-reorder-y-levels.svg
a1b996c8c64407d9e7ef08b14698e3d6 *tests/figs/alluvial-wide/wide-values.svg
957a38dbfdd6ba3adea4a2bbf9a7e051 *tests/figs/deps.txt
64ca38e912102e4bb926511ec447e180 *tests/figs/marginal-histograms/mod-cat-pred-train.svg
f3ec2f4a57e6053aa48a63c4f4fda7ab *tests/figs/marginal-histograms/mod-cat-pred.svg
14cb451eb866a670d6344f3afb940e92 *tests/figs/marginal-histograms/mod-num-cat.svg
14c932f5b2c96cce53951d087f619985 *tests/figs/marginal-histograms/mod-num-num.svg
211e89b9a4ca388e7bf8ec1ad77f075e *tests/figs/marginal-histograms/mod-num-pred-train.svg
9c93cabe786b2bebb52cc70b87afeb60 *tests/figs/marginal-histograms/mod-num-pred.svg
bb1d629c303d6997124f368ad07fe53d *tests/figs/marginal-histograms/plot-hist-long-cat-fill.svg
f74872231a4b43971b9a96238b7f96d5 *tests/figs/marginal-histograms/plot-hist-long-cat.svg
85175b8ec0961cdb05d870fa560fee77 *tests/figs/marginal-histograms/plot-hist-long-num-has-fill.svg
9ba11b986d7c5382cf616606cbd1cb02 *tests/figs/marginal-histograms/plot-hist-long-num-is-fill.svg
e3df9f96d64f13cf9d293453e05467e4 *tests/figs/marginal-histograms/plot-hist-long-num.svg
71c63128184d89ed26f424cc170a7aec *tests/figs/marginal-histograms/plot-hist-wide-cat.svg
7c7ee097df470ce8b049116f6d4f3a0b *tests/figs/marginal-histograms/plot-hist-wide-num.svg
33c5475dc6fd04f61a9a9cf45e864794 *tests/figs/plot-condensation/cond-price-first.svg
6b288d4bcefa910429a5b527b225fd96 *tests/figs/plot-condensation/cond-with-first.svg
f80333693dd300e0fe27d34397c3e009 *tests/figs/plot-condensation/cond.svg
feaa86c7d5d66d35c1a2b0384c85ab90 *tests/figs/plot-imp/plot-imp.svg
b65242a67edb29227eed889b1fe5667e *tests/testthat.R
31f7cbb5c9fb44f5443b8bb43d366751 *tests/testthat/test_alluvial_long.R
f851a20c7251d93b4980cc5b36c5eee4 *tests/testthat/test_alluvial_wide.R
5cdb71340048ec81046e75c674879d45 *tests/testthat/test_manip.R
7e0172d1ae3cbdbc19a0d8143fb14ff5 *tests/testthat/Rplots.pdf
159478954a0e26f81fb3e9e40b0e65cb *tests/testthat/test_alluvial_long.R
7a6d205ff48c10dd487c639dbc44f64f *tests/testthat/test_alluvial_model_response.R
4f848767acf79b0d28a34cda8d457583 *tests/testthat/test_alluvial_wide.R
3d72d9a7efaf789bad3c962675d8b7e7 *tests/testthat/test_manip.R
cc1d3954b32390235a5cb15c336c4436 *tests/testthat/test_palette.R
66ac9ad7c382ea7c09c7d8d63a006a44 *tests/testthat/test_plot_condensation.R
fd9760f3f78f71d56244192107cb4602 *tests/testthat/test_plot_imp.R
6e15936286b2a2cdbeb5137b9810ba39 *tests/testthat/test_plot_marginal_histograms.R
21 changes: 21 additions & 0 deletions NAMESPACE
@@ -1,15 +1,25 @@
# Generated by roxygen2: do not edit by hand

export(add_imp_plot)
export(add_marginal_histograms)
export(alluvial_long)
export(alluvial_model_response)
export(alluvial_model_response_caret)
export(alluvial_wide)
export(get_data_space)
export(get_pdp_predictions)
export(manip_bin_numerics)
export(manip_factor_2_numeric)
export(palette_filter)
export(palette_increase_length)
export(palette_plot_intensity)
export(palette_plot_rgp)
export(palette_qualitative)
export(plot_all_hists)
export(plot_condensation)
export(plot_hist)
export(plot_imp)
export(tidy_imp)
import(dplyr)
import(forcats)
import(ggalluvial)
Expand All @@ -18,24 +28,35 @@ import(purrr)
import(recipes)
importFrom(RColorBrewer,brewer.pal)
importFrom(RColorBrewer,brewer.pal.info)
importFrom(caret,predict.train)
importFrom(caret,varImp)
importFrom(e1071,skewness)
importFrom(forcats,fct_relevel)
importFrom(forcats,fct_rev)
importFrom(ggalluvial,StatStratum)
importFrom(ggalluvial,geom_flow)
importFrom(ggalluvial,geom_stratum)
importFrom(ggalluvial,stat_stratum)
importFrom(ggridges,geom_ridgeline_gradient)
importFrom(grDevices,boxplot.stats)
importFrom(grDevices,col2rgb)
importFrom(grDevices,rgb)
importFrom(gridExtra,arrangeGrob)
importFrom(gridExtra,grid.arrange)
importFrom(magrittr,"%>%")
importFrom(progress,progress_bar)
importFrom(purrr,is_bare_numeric)
importFrom(purrr,is_null)
importFrom(rlang,UQ)
importFrom(rlang,quo_is_null)
importFrom(stats,density)
importFrom(stats,median)
importFrom(stats,var)
importFrom(stringr,str_detect)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_all)
importFrom(stringr,str_split)
importFrom(stringr,str_wrap)
importFrom(tibble,is_tibble)
importFrom(tidyr,complete)
importFrom(tidyr,gather)
Expand Down
17 changes: 17 additions & 0 deletions NEWS.md
@@ -1,3 +1,20 @@
# Version 0.2.0 submitted to CRAN 20190331
Minor changes:
- Default plotting colours have been improved
- for alluvial_wide() stratum fill color of variable determining flow is now matched with flow color
- `parameter_label_size` allows to adjust the label fint size, as a result label size has been slightly increased

New features:
- marginal histograms
- alluvial flavoured partial dependency and model response alluvial plots
- new datasets mtcars2, quarterly_sunspots

Bug Fixes:
- Compatibility with `recipes 0.1.5`
- NA values in numerical columns are excepted
- correct ggplot2 and ggalluvial versions added as dependencies
- p$data_key does not contain comlumns with empty levels anyomore
- better support for numerical variables for alluvial_long()

# Version: 0.1.8, submitted to CRAN 20190115
- `dplyr 0.8.0.` compatibility
Expand Down

0 comments on commit c1be73d

Please sign in to comment.