【发布时间】:2017-06-28 04:11:30
【问题描述】:
由于某种原因,我的交互图似乎没有在 R markdown 中显示希腊符号(乳胶)(使用 R studio)。我正在使用的代码复制如下。为什么 expression() 函数不起作用?有什么建议吗?
with(ba_results, interaction.plot(as.factor(f1), as.factor(f2),
y,
type = "b",
pch = c(18, 19, 24),
fixed = TRUE,
xlab = "Scale factor",
ylab = "Mean Response",
trace.label = expression(mu_e),
main = paste("Interaction plot of",
expression(mu[e]),
"f1")))
【问题讨论】:
-
无法运行。可以添加一些模拟数据吗?