繁体   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