Skip to content
Prev 294239 / 398503 Next

QQplots format

HI Michael,

It worked.

Thanks.

A.K.


----- Original Message -----
From: R. Michael Weylandt <michael.weylandt at gmail.com>
To: arun <smartpink111 at yahoo.com>
Cc: R help <r-help at r-project.org>
Sent: Wednesday, May 9, 2012 11:32 PM
Subject: Re: [R] QQplots format

Hi,

car uses base graphics for this plot, so you can probably get what you
want with the layout() function. These aren't grid graphics so print()
is not at all helpful to you here.

e.g.,

x <- rnorm(50)
y <- rcauchy(50)

dev.new()
layout(matrix(1:2, nrow = 1))
qqPlot(x)
qqPlot(y)

dev.new()
layout(matrix(1:2, ncol = 1))
qqPlot(x)
qqPlot(y)

Take a look at ? layout

Hope this helps,
Michael
On Wed, May 9, 2012 at 11:13 PM, arun <smartpink111 at yahoo.com> wrote: