kassambara / rstatix

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

Grouping variable is converted from factor to character in emmeans_test #169

Closed kassambara closed 1 year ago

kassambara commented 1 year ago

Related to this issue (https://github.com/kassambara/ggpubr/issues/386) when visualizing the output using ggpubr.

The issue is mainly caused by broom:tidy() at https://github.com/kassambara/rstatix/blob/c36a70f22a8aeac58ffc9190decd70db18d0ebd1/R/emmeans_test.R#L135, which is changing factor to character