当我输入代码plot(x.logis)
时,输出是一起显示的四张图片,但我只是寻找其中一张。如何单独绘制它们?
这是我的代码:
x<-c(2800,3260,66.5,195,420,840,1380,469,260,50,209.8,370,27,420,157)
y<-log10(x)
# load fitdistrplus package for using fitdist function
library(fitdistrplus)
# fit logistic distribution using MLE method
x.logis <- fitdist(y, "logis", method="mle")
plot(x.logis)
这是输出的结果:
答案 0 :(得分:2)
我猜你需要的是cdfcomp
,denscomp
,ppcomp
和qqcomp
cdfcomp(x.logis, addlegend=FALSE)
denscomp(x.logis, addlegend=FALSE)
ppcomp(x.logis, addlegend=FALSE)
qqcomp(x.logis, addlegend=FALSE)