Re: [R] levelplot question

2009-05-07 Thread Deepayan Sarkar
ar...@gmail.com] >> Sent: Wednesday, May 06, 2009 6:35 PM >> To: Greg Snow >> Cc: Antje; r-h...@stat.math.ethz.ch >> Subject: Re: [R] levelplot question >> >> On Tue, May 5, 2009 at 8:58 AM, Greg Snow wrote: >> > The function that is doing the color a

Re: [R] levelplot question

2009-05-07 Thread Greg Snow
ay 06, 2009 6:35 PM > To: Greg Snow > Cc: Antje; r-h...@stat.math.ethz.ch > Subject: Re: [R] levelplot question > > On Tue, May 5, 2009 at 8:58 AM, Greg Snow wrote: > > The function that is doing the color assignments is level.colors in > the lattice package. > > Looking

Re: [R] levelplot question

2009-05-06 Thread Deepayan Sarkar
On Tue, May 5, 2009 at 8:58 AM, Greg Snow wrote: > The function that is doing the color assignments is level.colors in the > lattice package. > Looking at the code confirms that the number of colors should be 1 less than > the length > of the at variable (the documentation implies that it should

Re: [R] levelplot question

2009-05-06 Thread Deepayan Sarkar
On Tue, May 5, 2009 at 12:00 AM, Antje wrote: > Hi Greg and all the others, > > thanks for your answer. The color-vector has the same length like the > at-vector but the recycling cannot be the reason, because only values > slightly above my "threshold" doe not appear blue. > I cannot find a good

Re: [R] levelplot question

2009-05-05 Thread Greg Snow
> -Original Message- > From: Antje [mailto:niederlein-rs...@yahoo.de] > Sent: Tuesday, May 05, 2009 1:00 AM > To: Greg Snow; r-h...@stat.math.ethz.ch > Subject: Re: [R] levelplot question > > Hi Greg and all the others, > > thanks for your answer. The color-vector has th

Re: [R] levelplot question

2009-05-05 Thread Dieter Menne
Antje yahoo.de> writes: > thanks for your answer. The color-vector has the same length like the > at-vector but the recycling cannot be the reason, because only values > slightly above my "threshold" doe not appear blue. > I cannot find a good explanation of which colors are assigned to which

Re: [R] levelplot question

2009-05-05 Thread Antje
Hi Greg and all the others, thanks for your answer. The color-vector has the same length like the at-vector but the recycling cannot be the reason, because only values slightly above my "threshold" doe not appear blue. I cannot find a good explanation of which colors are assigned to which value

Re: [R] levelplot question

2009-05-04 Thread Dieter Menne
Antje yahoo.de> writes: > I have a question concerning the behaviour of the colouring with levelplot. > > If I give the parameters "at" and "col.regions" like this: > > at <- c(1,2,3,4,5,6) > col.regions <- c("blue","blue","blue","yellow","yellow","yellow") > > Which color would have the value

[R] levelplot question

2009-05-04 Thread Antje
@Dieter: > You implicitly expect round(). > Your question implies that you may also susceptible to the problem of > R FAQ 7.31, "Why doesn't R think these numbers are equal?" No, I guess, you misunderstood my question. These vectors (at and col.regions) are given to levelplot together with som

[R] levelplot question

2009-05-04 Thread Antje
Hi there, I have a question concerning the behaviour of the colouring with levelplot. (I hope, I manage to explain) If I give the parameters "at" and "col.regions" like this: at <- c(1,2,3,4,5,6) col.regions <- c("blue","blue","blue","yellow","yellow","yellow") Which color would have the val

Re: [R] levelplot question

2008-06-23 Thread Pedro Mardones
thanks for the replies, however z1 (range 300-800) and z2 (range 0-50) are measured in different units and scales and the approach suggested by Bert and Deepayan creates a single colorkey (0-800) and some of the plots for z2 really don't show anything...is there any way to specify separate colorkey

Re: [R] levelplot question

2008-06-23 Thread Deepayan Sarkar
On 6/23/08, Pedro Mardones <[EMAIL PROTECTED]> wrote: > Dear all; > I have a data set with 3 groups and 2 response variables, say z1 and > z2, and I would like to create a single plot (using the levelplot > function) showing on the first row the leveplots for z1 for each group > and on the seco

[R] levelplot question

2008-06-23 Thread Pedro Mardones
Dear all; I have a data set with 3 groups and 2 response variables, say z1 and z2, and I would like to create a single plot (using the levelplot function) showing on the first row the leveplots for z1 for each group and on the second row levelplots for z2 for the same groups. I tried plot.trellis u