Changes to the Durga package
August 19, 2025 ยท View on GitHub
Durga 2.1.0
Enhancements
DurgaPlottakes a parameteref.size.cexthat controls the size of the effect size central tendency symbol.DurgaPlottakes a parameteref.size.ylimthat sets y-axis limits of the effect size plot. Cannot be specified if the effect size plot is to the right and the effect type is "mean", because in that case the effect size y-axis must match the main plot y-axis.
Bug fixes
DurgaBracketsprevents bracket text from overlapping.DurgaDiffnow calculates CI of group mean for groups with at least 3 values and 2 distinct values. Previously it was only calculated for at least 3 distinct values.DurgaDiffnow correctly handlesR = NAas documented; does not calculate CIs- Fix cross reference links in documentation.
Durga 2.0
Enhancements
DurgaDiffcan now calculate multiple different effect sizes. The old values foreffect.typeof"cohens"and"hedges"are no longer accepted and generate an error. This backwards-incompatible change has been made so that users are required to consider the effect type they wish to use. See the help file forDurgaDifffor more information.DurgaDiffnow calculates CI of group means using BCa bootstrapping rather than using a parametric formula. This means that a group with fewer than 3 distinct values will not have a CI calculated (lower and upper limits will beNA).DurgaDiffnow accepts a vector forgroup.col. A single group column is created by concatenating values from each specified group column.DurgaDiffnow accepts data in either long or wide format. Added the data setinsulin.wideas an example of wide format.
Bug fixes
DurgaPlot: Ensure entirety of effect size is visible when on the right.DurgaDiff: bootstrap implementation of CI samples each group separately. The bug sometimes meant that the effect size axis disappeared in plots for groups with small sample sizes. The confidence intervals will be slightly different now.
Durga 1.1.0
- Improvements to vignette and online help.
- Added argument
violin.paramstoDurgaPlotto provide additional control over violin appearance. - Added arguments
ef.size.ltyandef.size.lwdtoDurgaPlotto provide control over effect size error bar appearance. - Added argument
points.adjusttoDurgaPlotto allow control over point layout. - Bug fix in
DurgaPlot:violin.fill = FALSEnow correctly does not fill violins, rather than white fill. - Bug fix in
DurgaBrackets; drawing many brackets sometimes resulted in overlapping brackets. - Extend tick marks on right axis to cover CI when plotting standardised effect size on the right.
- Fixed bug in plotting violins for pathological data; previously failed with error "Error in xy.coords(x, y, setLab = FALSE) : 'x' and 'y' lengths differ"
Durga 1.0
- First public release