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.
谁能告诉我如何将两条累积分布曲线放在同一个图中?
执行此命令时:
plot(x,pweibull(x,shape=1.120662,scale=18.496778),type="l",col=4) plot(ecdf(SIZEDIST$AVG.µm.),add=TRUE)
Weibull cdf 曲线以某种意想不到的形式出现。这不是我所期待的。 我需要第一条曲线作为平滑线,第二条 ecdf 曲线作为步骤。
使用功能lines
lines
plot(ecdf(rnorm(20)),col='red') lines(ecdf(rnorm(10)),col='blue')