Open JJRAINE opened 9 months ago
Hi @JJRAINE ,
We've recently released a new version of dabestr, “Lapis” (v2023.9.12), which adds estimation graphics for four new data types: repeated measures, 2 × 2 designs, proportions, and easy meta-analyses.
dabestr version “Lapis” is a complete rebuild of the original dabestr and as such, unfortunately, v0.3.0 of dabestr and below are now deprecated and will no longer be receiving support.
We strongly recommend upgrading to the latest version (“Lapis”) as soon as possible. This will not only ensure access to the latest features but also expedite the resolution of any issues you may have encountered.
You can find the latest release here and the updated documentation for the package here.
For quick installation, you may refer to the following:
# Install it from CRAN
install.packages("dabestr")
# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github(repo = "ACCLAB/dabestr", ref = "dev")
If you face any challenges during the update process or have further questions, please don't hesitate to reach out.
We value your feedback and appreciate your continued support!
Hi,
I've run into an issue attempting to add black outlines to the swarm plot points while maintaining a color palette. My original plot* generates normally as below (Test1), however attempting to add the black outline seems to override the color palette (Test 2). Instructing it to fill with a single color works (Test 3), however I'm unable to fill with a palette. Providing multiple colors returns the 'Error in Fortify' below (Test). Any assistance would be much appreciated, thanks!
*The data for this plot and creation of the cliffs delta object is available as an attachment
Test1 <- plot(CLIFFSWT20, color.column = TIME, palette = "Reds", rawplot.markersize = 1.8, effsize.markersize = 1.5, effsize.ylim = c(-1, 1)) Test1![image](https://github.com/ACCLAB/dabestr/assets/145653346/815b0da3-6734-4d8d-9ebb-7d91f0db9f72)
Test2 <- plot(CLIFFSWT20, swarmplot.params = list(mapping = aes(fill = TIME, color = TIME), color = "black", pch = 21, size = 3), color.column = TIME, palette = "Reds", rawplot.markersize = 1.8, effsize.markersize = 1.5, effsize.ylim = c(-1, 1)) Test2![image](https://github.com/ACCLAB/dabestr/assets/145653346/44289de2-56d4-488f-ace0-75ddb79d35ed)
Test3 <- plot(CLIFFSWT20, swarmplot.params = list(mapping = aes(fill = TIME, color = TIME), fill = "red", color = "black", pch = 21, size = 3), color.column = TIME, palette = "Reds", rawplot.markersize = 1.8, effsize.markersize = 1.5, effsize.ylim = c(-1, 1)) Test3![image](https://github.com/ACCLAB/dabestr/assets/145653346/0632a8f9-d042-4f3e-8826-abbd94468f91)
Test4 <- plot(CLIFFSWT20, swarmplot.params = list(mapping = aes(fill = TIME,), fill = "red","blue","green",color = "black", pch = 21, size = 3), color.column = TIME, rawplot.markersize = 1.8, effsize.markersize = 1.5, effsize.ylim = c(-1, 1)) Test4
Error in, or an object coercible by
fortify()
: !data
must be afortify()
, not the string "blue". Backtrace:<fn>
(...)CSVs for R.csv CLIFFSWT20 <- dabest(CSVs_for_R, TIME, Tin, idx = unique(reodata$TIME), paired = FALSE) %>% cliffs_delta()