2014-12-07 38 views
0

答案是沒有特定的,我使用這個包叫做CAR for R來繪製qqplot。汽車包到qqplot在R - 如何插入x和y軸的比例

我的問題是 - 我可以繪製圖表,但不能使用-xlim或ylim來放置軸的縮放比例。

如何把它做

附加信息的任何想法:

qqPlot {car} 
Version: 2.0-22 
Depends: R (≥ 2.14.0), stats, graphics  
## Default S3 method: 
    qqPlot(x, distribution="norm", ..., 
     ylab=deparse(substitute(x)), xlab=paste(distribution, "quantiles"), 
     main=NULL, las=par("las"), 
     envelope=.95, 
     col=palette()[1], col.lines=palette()[2], lwd=2, pch=1, cex=par("cex"), 
     line=c("quartiles", "robust", "none"), 
     labels = if(!is.null(names(x))) names(x) else seq(along=x), 
     id.method = "y", 
     id.n =if(id.method[1]=="identify") Inf else 0, 
     id.cex=1, id.col=palette()[1], grid=TRUE) 



sessionInfo() 
R version 3.1.1 (2014-07-10) 
Platform: x86_64-apple-darwin13.1.0 (64-bit) 

locale: 
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 

attached base packages: 
[1] parallel stats  graphics grDevices utils  datasets methods base  

other attached packages: 
[1] car_2.0-22 

回答

0

它似乎並不可調。如果您需要這樣的修改,我建議您切換到基本功能stats::qqnormstats::qqplot。如果你想要一個更有吸引力的情節,你可以切換到ggplot2。看看http://docs.ggplot2.org/current/stat_qq.html