Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Sander Oom
Sorry Deepayan, I forgot that the code moved on while you send your reply. Below the simplified version using your suggestion and this time based on the generic data used in the xYplot manual! Maybe this example can be included in the manual, so next time people will find the answer there. Or b

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Deepayan Sarkar
On Friday 13 May 2005 10:36 am, Sander Oom wrote: > Hi Deepayan! > > Deepayan Sarkar wrote: > > On Friday 13 May 2005 08:07 am, Sander Oom wrote: > >>An off list response from Mat Soukop (thanks Mat!!) provides an even > >>more elegant solution (see code below)! I have included the original > >>cod

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Sander Oom
Hi Deepayan! Deepayan Sarkar wrote: On Friday 13 May 2005 08:07 am, Sander Oom wrote: An off list response from Mat Soukop (thanks Mat!!) provides an even more elegant solution (see code below)! I have included the original code, so people can decide whether to plot in a single panel or in multiple

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Deepayan Sarkar
On Friday 13 May 2005 08:07 am, Sander Oom wrote: > An off list response from Mat Soukop (thanks Mat!!) provides an even > more elegant solution (see code below)! I have included the original > code, so people can decide whether to plot in a single panel or in > multiple panels. Now we have a fully

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Sander Oom
I have edited the code (hacked from another graph) to provide more control over the different elements of the graph. Now we have a graph at publication quality! Slowly the power of R graphics is shining through the thick cloud of options! Beautiful. library(Hmisc) library(l

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Sander Oom
An off list response from Mat Soukop (thanks Mat!!) provides an even more elegant solution (see code below)! I have included the original code, so people can decide whether to plot in a single panel or in multiple panels. Now we have a fully functional workaround to get plotmeans{gplots} for mu

Re: [R] Problem with data frame when using xYplot?

2005-05-13 Thread Sander Oom
Problem solved! I was so focused on reproducing the plotmeans() functionality with xYplot() that I completely overlooked the fact that my data does not allow a x-y plot, as only Sodium is a numeric variable while Position and AltGeo are factors! Using unclass() to make Position a numeric variab