出于某种原因,我的交互图似乎没有在 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")))