R绘制混合效果

时间:2018-08-02 07:46:44

标签: r ggplot2 plot mixed-models

我有以下图形:

Mixed effects model

我使用了以下代码:

plot(effect("bed*time",mod1), main = "mixed effects model", xlab = "time", ylab = "mean deviation index")
# mod1 is a mixed effects model; bed is the condition and time the  measurement points

我有两个问题:

  1. 我能以某种方式在绘图函数中用另一个标签覆盖“ bed = 1”和“ bed = 2”而不更改数据中变量的名称吗?

  2. 如何确保测量点的数量全部显示在图表下方?

0 个答案:

没有答案
相关问题