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.
我试图从 R 中的回归模型中绘制系数(和 95% CI),但变量名称很小。我正在尝试增加名称的大小,但行cex.var=3.0中的行coefplot(model, cex.var=3.0)似乎没有改变任何东西。
cex.var=3.0
coefplot(model, cex.var=3.0)
我试过: cex=3.0, cex.vars=3.0,cex.lab=3.0但无济于事。
cex=3.0
cex.vars=3.0
cex.lab=3.0
有什么建议么?
该情节是使用制作的,ggplot2因此您需要使用主题。像这样的东西
ggplot2
data(iris) model <- lm(Sepal.Width ~ Sepal.Length, data=iris) coefplot(model) + theme(text = element_text(size=30), axis.text.x = element_text(angle=90, vjust=1))