r - How can I generate a scatter plot from lmm in R?
问题描述
The models are:
Model1 = lmer(V1 ~ V2 * V3 + V4 + (1|V5), data=data)
Model2 = lmer(V1 ~ V2 + V3 + V4 + (1|V5), data=data)
V1: numerical V2: numerical V3: factor with two levels V4: factor with two levels V5: Random variable
I want to generate a dispersion graph with V1 on the Y ax and V3 on the X ax, with two curves for the two levels of V4. I tried the function coef(), but I don't know the values I should use:
Model1 (Intercept) V2 V3 V4 V2:V3
Model2 (Intercept) V2 V3 V4
Thanks!
解决方案
推荐阅读
- idl-programming-language - 如何在idl中将多维数组转换为字符串
- python - 数学运算和比较运算符的类型错误
- node.js - 回调不是函数 - 读取 JSON 文件
- javascript - 具有 gte 条件的 Ramda 过滤数据
- python - 使用预训练模型进行 LogisticRegression() 训练
- windows - 单行嵌套循环
- c - 为什么 mq_timedreceive 忽略 timespec 结构?
- excel - HTMLBody 属性的 VBA Excel 细分
- javascript - 用户点击dismiss(x)或刷新页面后不再显示警报
- flutter - 如何使用按钮的 onPressed 属性将小部件文本的值复制到另一个