Lattice experts:
Can you think of a way to produce a levelplot as below and then add a histogram
of the z variable to the top margin of the plot that would sit on top of the
color key?
x - seq(pi/4, 5 * pi, length.out = 100)
y - seq(pi/4, 5 * pi, length.out = 100)
r -
Hello, I'm making a simple plot using xYplot in the Hmisc library and having
problems with labeling the values on the x-axis. Using the reproducible example
below, how can I have the text (jan, feb,mar, etc.) in place of 1:12.
Thanks, AB
x - c(seq(0,0.5,by=0.1),seq(0.5,0,by=-0.1))
ci -
On 22/11/11 13:04, Andy Bunn wrote:
Apologies for thickness - I'm sure that this operates as documented
and with good reason. However...
My understanding of arima.sim() is obviously imperfect. In the
example below I assume that x1 and x2 are similar white noise processes
with a mean of 5
Apologies for thickness - I'm sure that this operates as documented and with
good reason. However...
My understanding of arima.sim() is obviously imperfect. In the example below I
assume that x1 and x2 are similar white noise processes with a mean of 5 and a
standard deviation of 1. I thought
-Original Message-
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Tuesday, November 15, 2011 8:54 PM
To: Andy Bunn
Cc: r-help@r-project.org
Subject: Re: [R] equal spacing of the polygons in levelplot key
(lattice)
Hi:
Does this work?
Thanks Dennis.
This almost works
-Original Message-
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Wednesday, November 16, 2011 11:22 AM
To: Andy Bunn
Cc: r-help@r-project.org
Subject: Re: [R] equal spacing of the polygons in levelplot key
(lattice)
OK, how about this instead?
# library('lattice')
levs
Given the example:
R (levs - quantile(volcano,c(0,0.1,0.5,0.9,0.99,1)))
0% 10% 50% 90% 99% 100%
94 100 124 170 189 195
R levelplot(volcano,at=levs)
How can I make the key categorical with the size of the divisions equally
spaced in the key? E.g., five equal size rectangles with
7 matches
Mail list logo