r - R 中 Games Howell post hoc 中的字母组排序
问题描述
我想从 R 中的 Games Howell 事后测试中获得一个连接的信件报告。我已经使用几个选项实现了它,例如:
library(PMCMRplus)
GH_vol <- gamesHowellTest(Tree.volume ~ Rootstock, data = Olives_GH)
summaryGroup(GH_vol)
library(userfriendlyscience)
oneway(y = Olives_GH$Tree.volume, x = Olives_GH$Rootstock, posthoc = 'games-howell', posthocLetters = TRUE)
问题是我得到的连接字母报告不是按数字字段(Tree.volume)的平均值排序,而是按因子名称(Rootstock)排序。我的意思是,“a”不是分配给平均值较高的值,而是分配给按字母顺序排列的第一个值。
有谁知道如何通过平均订购它?
解决方案
推荐阅读
- tensorflow - Keras 分类交叉熵学习因将所有内容归为一类而陷入困境
- javascript - 打开选项卡/窗口而不显示它们
- excel - 如何从excel中的字符串中间删除一个字符
- python - 熊猫重命名多级外观的列名
- python - 如何在 Python 中的 Azure 函数输出绑定的上下文中设置队列存储消息 TTL?
- python - 如何忽略 Pandas 中的自定义标题
- java - 通过默认 SSLSocketFactory 创建的 Socket 发送密码是否安全?
- java - 对格式化字符串 (Java) 很困惑?
- java - 带有@Value 注释和单个方法的字段。我应该把它们都设为静态吗?为什么/为什么不?
- python-3.x - 摆脱字符串变量中的无效 unicode 字符