tidyplots——简化代码,比ggplot2更高级!
studytreatment group dose participant age sex score1 A placebo high p01 23 female 22 A placebo high p02 45 male 43 A placebo high
studytreatment group dose participant age sex score1 A placebo high p01 23 female 22 A placebo high p02 45 male 43 A placebo high
library(ggplot2)set.seed(6)# 设置随机种子,当随机种子固定后,生成的随机数将不会发生变化df