具有多个嵌套因子级别的 EMEANS 中的特定自定义对比

问题描述

这是我的数据框:

v1

这是我的模型:

std::vector<filter*> match(const std::array<string,5>& v,const auto& index) { std::vector<filter*> matches; auto it0 = index.find(""); if (it0 != index.end()) matches.push_back(std::get<filter*>(*it0)); // match-everything filter if ((it0 = index.find(v[0])) == index.end()) return matches; // no non-wildcard match const auto& i1 = std::get<1>(*it0); // next level in index auto it1 = i1.find(""); ...same kind of logic,working your way through the 5 levels...

当我做emmeans对比时:

rearing.temp<-c("15","15","19","19") source<-c("field","field","woods","woods") runway.temp<-c("40","20","40","20") veLocity<-c("2.3","2.1","1.9","2.3","2.2","2.0","1.1","1.3","3.2","2.4","3.0") snail<-data.frame(rearing.temp,source,runway.temp,veLocity)

我得到了 28 种不同的比较,但我只想看看在 40° 跑道温度下测试的 15° 饲养的田螺与在 40° 跑道测试的 15° 饲养的树林蜗牛的速度之间的差异温度。我只想对在相同温度下饲养、在相同温度下进行测试但来自不同栖息地的蜗牛进行比较。另外,当我进行所有 28 次比较时,它正在剥夺统计能力和几乎所有不重要的东西。如何在不设置子集的情况下进行特定的成对比较?

谢谢,

里卡多

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)