这里的密码。
library(effects);
library(stats);
mod.cowles <- glm(volunteer ~ sex + neuroticism*extraversion, data=Cowles, family=binomial);
eff.cowles <- allEffects(mod.cowles, xlevels=list(neuroticism=0:24, extraversion=seq(0, 24, 6)));
plot(eff.cowles, par.strip.text = list(cex = 1.2), xlab=list(cex=2.8), cex=2.5 #par.settings=list(scales=list(cex=1.4),#doesn't work.
#par.scales=list(cex=1.4),#doesn't work.
#scales=list(cex=1.4),#doesn't work
#pscales=list(cex=1.5)#doesn't work.
)发布于 2013-05-16 00:14:10
关于你的第一个问题,我想你是在寻找
plot(eff.cowles, cex.lab=.4)cex.lab参数可能是您所需要的。
我不知道一种简单的方法来做预测区间,而不是置信区间,尽管我确信这是可能的。
https://stackoverflow.com/questions/16541216
复制相似问题