当前位置:网站首页>Error: grouping factors must have > 1 sampled level
Error: grouping factors must have > 1 sampled level
2022-07-17 22:59:00 【Analysis of breeding data】
Report errors :
Error: grouping factors must have > 1 sampled level
Error code :
Analyze more than one year's data , It is necessary to consider the location and the area group within the location , Both use random factors of mixed linear models .
> ## modeling
> blup <- lmer(First~(1|Line)+(1|Loc)+(1|Rep%in%Loc)+(1|Line:Loc), data=phe)
Error: grouping factors must have > 1 sampled level
here %in% Replace with /.
The correct code is as follows :
> ## modeling
> blup <- lmer(First~(1|Line)+(1|Loc)+(1|Loc/Rep)+(1|Line:Loc), data=phe)
> summary(blup)
Variance component results :
That's it !
边栏推荐
- 745. 前缀和后缀搜索 : 常规 Trie 运用题
- How to use list
- 互联网公司都怎么实现分页的,拿 MySQL 使劲Limit?
- Wechat applet - life cycle approach
- Methods and extensions of array objects, extension methods of strings, and traversal of arrays in ES6. (including examples)
- Learning notes of inclusion exclusion principle
- 指针与数组的复杂纠葛
- MySQL——mysql下载地址
- Mysql—事务:一篇掌握
- 海思万能平台搭建:在线调试2ssh的移植部署
猜你喜欢

Land surface eco hydrological simulation and multi-source remote sensing data assimilation and Noah MP model

Understanding and operation of array

Alibaba Dharma Institute dialogue team recruits research interns!

数组的理解与操作

Install Emmet plug-in for notepad++

Migrate data files in RMAN copy mode

Hisilicon universal platform construction: online debugging 2ssh migration deployment

通信方式——8080并口

Comment les entreprises Internet réalisent - elles la pagination, prenez MySQL Strength limit?

Basic part of C language: guessing numbers games
随机推荐
How to simplify if else through policy mode?
Migrate data files in RMAN copy mode
What form of disk storage does the storage interface of polardb for PostgreSQL support?
VBA驱动SAP GUI完成界面元素值初始化
Talk about digital transformation Office
【Debug】VS EXE运行“应用程序无法正常启动(0xc000007b)”
联通实时计算平台演进与实践
Complex network modeling (6)
一行代码制作数据分析交叉表,太便捷了
List collection
会话跟踪技术Cookie和Session
Wireless sensor network -- hardware design of wireless sensor network
745. Prefix and suffix search: General trie application questions
The first article of participating in the publishing activity
Flink 在众安保险金融业务的应用
list的使用方式
AI 之 OpenCvSharp 大图找小图(案例版)
指针与数组的复杂纠葛
MySQL - MySQL download address
TFTLCD thin film transistor liquid crystal display -- Taking Explorer as an example