kassambara / rstatix

Pipe-friendly Framework for Basic Statistical Tests in R
https://rpkgs.datanovia.com/rstatix/
432 stars 51 forks source link

incorrect yend? #201

Open SamGG opened 6 months ago

SamGG commented 6 months ago

Hi, Currenly, https://github.com/kassambara/rstatix/blob/360cda40bd22e80bce19ed63fbadfc4a9e52ce23/R/get_pvalue_position.R#L149 does not match https://github.com/kassambara/rstatix/blob/360cda40bd22e80bce19ed63fbadfc4a9e52ce23/R/get_pvalue_position.R#L157-L159 IMHO yend <- ystart + (step.increase*(ncomparisons-1)) BTW, k is unused as corresponding code is commented.