簡體   English   中英

汽車包裝到R中的qqplot-如何插入x和y軸的比例

[英]car package to qqplot in R - how to insert the scale of x and y axis

答案不太明確,我正在使用名為R的CAR來繪制qqplot。

我的問題是-我能夠繪制圖形,但不能使用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 

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM