Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Stephen Liu
> Sent: Tuesday, August 31, 2010 5:42 AM
> To: r-help@r-pro
eing the same. On the 2rd graph the x-axis
> is
> women.
Yes.
But don't use attach() unless you really, really, really know what you
are doing, and even then probably don't do it.
G
>
>
> B.R.
> Stephen L
>
>
>
>
>
>
>
>
> - Original Message
> From: Greg
m: Stephen Liu [mailto:sati...@yahoo.com]
> Sent: Sunday, August 29, 2010 6:55 AM
> To: Greg Snow; gavin.simp...@ucl.ac.uk
> Cc: r-help@r-project.org
> Subject: Re: [R] About plot graphs
>
> Hi Greg,
>
> Thanks for your advice.
>
> > data(women)
> > women
>heigh
r in xy.coords(x, y, xlabel, ylabel, log) :
> 'x' and 'y' lengths differ
>
> No graph plotted.
>
>
> > detach()
> > attach(singer[1:15,])
>
> The following object(s) are masked from women :
>
> height
>
> > plot(weight
Hi David,
Thanks for your advice.
B.R.
Stephen L
- Original Message
From: David Winsemius
To: Stephen Liu
Cc: "r-help@r-project.org"
Sent: Sun, August 29, 2010 1:52:50 AM
Subject: Re: [R] About plot graphs
On Aug 28, 2010, at 9:15 AM, Stephen Liu wrote:
> Hi Gavin
.R.
Stephen L
- Original Message
From: Greg Snow
To: Stephen Liu ; "gavin.simp...@ucl.ac.uk"
Cc: "r-help@r-project.org"
Sent: Sun, August 29, 2010 2:58:12 AM
Subject: RE: [R] About plot graphs
Gavin gave some problems with relying attaching data, here is anoth
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Stephen Liu
> Sent: Friday, August 27, 2010 11:14 PM
> To: gavin.simp...@ucl.ac.uk
> Cc: r-help@r-project.org
> Subject: Re: [R] About plot graphs
>
> Hi G
s. In the code above, we change both the layout() and the
plotting parameters (via par() ), and the last two lines of code in
that
example reset these changes.
G
B.R.
satimis
- Original Message
From: Gavin Simpson
To: Stephen Liu
Cc: "r-help@r-project.org"
es it mean ". examines the environment after the evaluation of
'expr'
."
Tks
B.R.
Stephen
B.R.
Stephen L
- Original Message
From: Gavin Simpson
To: Stephen Liu
Cc: "r-help@r-project.org"
Sent: Sat, August 28, 2010 3:28:34 PM
Subject: Re: [R] About plot g
se it to reset the current device back to
normal. I find it is good working practice to tidy up after doing plots
like this. In the code above, we change both the layout() and the
plotting parameters (via par() ), and the last two lines of code in that
example reset these changes.
G
>
> B.
Tks
B.R.
satimis
- Original Message
From: Gavin Simpson
To: Stephen Liu
Cc: "r-help@r-project.org"
Sent: Fri, August 27, 2010 5:38:40 PM
Subject: Re: [R] About plot graphs
On Fri, 2010-08-27 at 02:05 -0700, Stephen Liu wrote:
> Hi Gavin,
>
> Thanks for your ad
rstood it), you would know that those
commands you list can't possibly help.
HTH
G
>
>
> B.R.
> Stephen L
>
>
>
>
> - Original Message
> From: Gavin Simpson
> To: Stephen Liu
> Cc: "r-help@r-project.org"
> Sent: Fri, August 27,
quot;r-help@r-project.org"
Sent: Fri, August 27, 2010 4:21:13 PM
Subject: Re: [R] About plot graphs
On Thu, 2010-08-26 at 21:01 -0700, Stephen Liu wrote:
> Hi Greg,
> > windows(width=12, height=6)
> Error: could not find function "windows"
So you aren't on Windows
op up a square window
>
>
> B.R
> Stephen L
>
>
>
>
>
> - Original Message
> From: Greg Snow
> To: Stephen Liu ; "r-help@r-project.org"
>
> Sent: Fri, August 27, 2010 10:51:21 AM
> Subject: RE: [R] About plot graphs
>
> When
s is then re-sampled at the new
frequency.
> window(layout(matrix(1:2, nrow=1), width=12, height=6))
[1] 2
attr(,"tsp")
[1] 1 1 1
Still pop up a square window
B.R
Stephen L
- Original Message
From: Greg Snow
To: Stephen Liu ; "r-help@r-project.org"
Sen
6, 2010 8:02 PM
> To: r-help@r-project.org
> Subject: Re: [R] About plot graphs
>
> Hi Greg,
>
> Thanks for your advice.
>
> I'm not prepared altering the shape of the graphs to be plotted. What
> I'm
> trying to do is to pop up a rectangle layout window with
ugust 27, 2010 9:00:01 AM
Subject: RE: [R] About plot graphs
There is a graphical parameter that controls whether a plot is square or takes
up the maximum amount of room (rectangle), see ?par and look at the entry for
pty.
It is possible that you set pty='s' or it may be that the plot
ugust 26, 2010 8:45 AM
> To: r-help@r-project.org
> Subject: [R] About plot graphs
>
> Hi folks,
>
> Following command prints 2 graphs side-by-side:-
> layout(matrix(1:2, nrow=1))
> plot(Date,Input_No.)
> plot(Test01$Date, Test01$Input_No.)
>
> However each is a sq
On Aug 26, 2010, at 10:44 AM, Stephen Liu wrote:
Hi folks,
Following command prints 2 graphs side-by-side:-
layout(matrix(1:2, nrow=1))
?layout
#Read the details for the widths and heights arguments more carefully
and (as it suggests) see the examples.
plot(Date,Input_No.)
plot(Test01$
Hi folks,
Following command prints 2 graphs side-by-side:-
layout(matrix(1:2, nrow=1))
plot(Date,Input_No.)
plot(Test01$Date, Test01$Input_No.)
However each is a square graph I need a rectangular layout. Pls advise how to
make it. TIA
B.R.
satimis
_
20 matches
Mail list logo