我有以下图形:
我使用了以下代码:
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
我有两个问题:
我能以某种方式在绘图函数中用另一个标签覆盖“ bed = 1”和“ bed = 2”而不更改数据中变量的名称吗?
如何确保测量点的数量全部显示在图表下方?