Open andrewd789 opened 2 years ago
Hi, @andrewd789
Thanks for bringing this up. Yes, the curret color mapping doesn't follow the factor level order. You can change the color palette order first. We will improve the color mapping in future version.
Hi @andrewd789,
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,
This is a great package, but I'm having difficulty assigning colours to a factor in an estimation plot. The colours in the plot do not seem to respect the factor levels. If I change the factor level order, the colour mapping in the plot does not change accordingly. Here is a simple example:
I would expect the second plot to have reversed order of levels in the legend. i.e. E would be first and pale green, D would be second and purple, etc. Why doesn't this happen?
Thanks!
Andrew.