kassambara / rstatix

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

Revisited a script which used to work and now getting an error #185

Open rebeelouise opened 1 year ago

rebeelouise commented 1 year ago

Error in parse(text = elt) : :1:7: unexpected symbol 1: Using an ^

Does anyone know what this means?

`stats1 <-df %>%
+   filter(variable=="TsTvRatio") %>% 
+   filter(Sample.Type=="Swab") %>% 
+   filter(DPI != "5") %>% 
+   filter(DPI != "4") %>%
+   rstatix::group_by(DPI) %>% 
+   rstatix::wilcox_test(value~Cohort) %>% 
+   adjust_pvalue(method="none") %>% 
+   add_significance("p") %>%
+   add_xy_position(x = "Cohort", dodge = 0.8) %>%
+   remove_ns(col="p")`
GegznaV commented 1 year ago

@rebeelouise, please create a reprex.

Why do you think that this issue is related to rstatix?