Re: [R] lattice -- panel order display

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Wed 02 Mar 2005 - 03:08:32 EST

Luis Ridao Cruz wrote:

> Here is a 'subset' of the ' test ' data .
>
> xyplot ( number ~ cm | as.factor(test$year) , data=test)
>
>
>>test
>
> year cm number
> 34 1995 72 34
> 35 1995 73 37
>

[SNIP, was NTW a) not easily reproducible and b) too much waste of bandwith]

I still don't see any problem?

The order seems to be fine, and setting "index.cond" works as expected ...

Uwe Ligges

>
>
>>>>Uwe Ligges <ligges@statistik.uni-dortmund.de> 01/03/2005 15:40:15
>>>>
>
> Luis Ridao Cruz wrote:
>
>
>>R-help,
>>
>>I'm using 'xyplot' in lattice package which plots length frecuencies
>
> by
>
>>year (10).
>>The order I get is not logical and the 'index.cond' argument to
>>'xyplot' is a bit cumbersome when it comes to plot a great deal of
>
> (in
>
>>my case years).
>>
>>I have tried sorting the conditioning variable but still get the
>
> same
>
>>result.
>>
>>Is there any easy way to do it without making use of 'index.cond' ?
>>
>>The function call is as follows:
>>
>>xyplot ( number ~ cm | as.factor(test$year) , data=test)
>
>

> Not reproducible for us, we don't have "test", so please make your
> example small and reproducible.
>
> Uwe Ligges
>
>
>>Thanks in advance
>>
>>
>>
>>
>>>version
>>
>> _
>>platform i386-pc-mingw32
>>arch i386
>>os mingw32
>>system i386, mingw32
>>status
>>major 2
>>minor 0.1
>>year 2004
>>month 11
>>day 15
>>language R
>>
>>______________________________________________
>>R-help@stat.math.ethz.ch mailing list
>>
https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide!
>
> http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Mar 02 04:17:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST