[R] qq-plot in R

Gerrit Eichner Gerrit.Eichner at math.uni-giessen.de
Wed Nov 12 08:45:02 CET 2014


Hello, ron,

have you looked at the help page of qqplot and consequently tried, e.g., 
the following?

xy <- qqplot( rt(300, df = 5), rt(300, df = 5),
               xlim = c(-10, 10), ylim = c(0, 10))
str( xy)



Hth  --  Gerrit


On Tue, 11 Nov 2014, Ron Michael wrote:

> Hi,
>
> I am some questions on qq-plot offered by R. Let say I have following qq-plot:
>
>  qqplot(rt(300, df = 5), rt(300, df = 5))
> However I want to get more controls to define the range of x-axis as well as y-axis. For example I want to define that, x-axis range will be -10 to 10 and y-axis range will be 0-10 (just an example on what I am looking for). Additionally I want to get the entire list of (x,y) coordinates for all plotted points.
> Basically one my goals is to draw multiple different qq-plots onto same plot-window, with my optimally chosen range of x & y axes.
> Can somebody here guide me how to achieve that?
> Appreciate your pointers and help.
> Thanks,
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list