On Thu, 20 Oct 2016, David Winsemius wrote:
Why are you creating this factor? The `date` column has the desirable
properties associated with the "Date" class. Axis labeling will be
correct.
David, et al.:
Because originally I mis-understood the parameters; it's gone now.
rainbyday2 <- xyp
> On Oct 20, 2016, at 9:20 AM, Rich Shepard wrote:
>
> On Wed, 19 Oct 2016, David Winsemius wrote:
>
>> I am getting annoyed, exhausted, and frustrated reading code like that.
>> Never, ever, ... ever, use the "$" operator in a formula. Use the 'data'
>> argument and the 'formula' as they are s
1. Your par(), opar() business is junk -- lattice displays do not use or
modify these. See ?trellis.par.set .
2. You do *not* need rain$ in your formula with the data=rain argument; you
*do* need it in the at argument and elsewhere. The data argument only
controls where the variables in the formul
On Wed, 19 Oct 2016, David Winsemius wrote:
I am getting annoyed, exhausted, and frustrated reading code like that.
Never, ever, ... ever, use the "$" operator in a formula. Use the 'data'
argument and the 'formula' as they are supposed to be used.
David,
I apologize for annoying, exhaustin
> On Oct 19, 2016, at 4:04 PM, Rich Shepard wrote:
>
> On Wed, 19 Oct 2016, Rich Shepard wrote:
>
>> I did read that but mis-applied what I read. Tried auto.key but that did
>> not work as desired. Now I know to learn how to apply 'key'.
>
> Almost there after another careful reading Section
Mackay
Sent: Thursday, 20 October 2016 16:11
To: R
Subject: Re: [R] Lattice xyplot(): adding a legend
Hi Rich
Without an example to check I think you need to fill in the arguments for
par.settings eg
par.settings = list(plot.symbol = list(c("black","red","dark green&quo
rsity of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rich Shepard
Sent: Thursday, 20 October 2016 10:05
To: r-help@r-project.org
Subject: Re: [R] Lattice xyplot(): adding a legend
O
On Wed, 19 Oct 2016, Rich Shepard wrote:
I did read that but mis-applied what I read. Tried auto.key but that did
not work as desired. Now I know to learn how to apply 'key'.
Almost there after another careful reading Section 9.2.3 ff in the book.
Here's the command to produce the plot:
ra
On Wed, 19 Oct 2016, David Winsemius wrote:
The `legend` function is used with base graphics plotting (as is the par
function).
David,
And that's how I used it before so it is the wrong template for this plot.
Mea culpa!
I think you might first read ?Lattice since it makes reference to th
> On Oct 19, 2016, at 10:48 AM, Rich Shepard wrote:
>
> After reading ?xyplot and pages 161-162 in Deepayan's book I'm still not
> getting the syntax correct to add a legend to a scatterplot. The data are
> attached as filename rain.dput.
>
> Without the legend (and testing interactively) the
After reading ?xyplot and pages 161-162 in Deepayan's book I'm still not
getting the syntax correct to add a legend to a scatterplot. The data are
attached as filename rain.dput.
Without the legend (and testing interactively) the data plot but not the
legend. Sourcing the script opens the dis
11 matches
Mail list logo