小编Emi*_*ily的帖子

如何在 R 中编辑 Tukey 测试图

我对方差分析进行了事后 Tukey 检验,然后绘制了结果图。我似乎无法更改 x 轴标题或 y 轴标题。我收到此错误:

Error in plot.default(c(xi[, "lwr"], xi[, "upr"]), rep.int(yvals, 2L),  : 
  formal argument "xlab" matched by multiple actual arguments
Run Code Online (Sandbox Code Playgroud)

这是我的相关代码:

tuk <- TukeyHSD(final)
plot(tuk,xlab="Differences in mean departure times", ylab="Comparisons")
Run Code Online (Sandbox Code Playgroud)

我还需要更改 y 轴刻度线标签,但我不知道如何更改。

谢谢。

plot r axis-labels tukey

3
推荐指数
1
解决办法
4900
查看次数

标签 统计

axis-labels ×1

plot ×1

r ×1

tukey ×1