Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
那应该很容易......如何i在下图中的标题中以粗体显示 (=1) (仅调整参数main)?
i
main
i <- 1 plot(0~0, main=substitute(bold("foo"~i.~"bar"), list(i.=i)))
这个怎么样?
i <- 1 plot(0~0, main=substitute(bold("foo"~i.~"bar"), list(i.=as.character(i))))