Re: [R] lattice 3x3 plot: force common y-limits accross rows and align x-axes

2013-02-20 Thread Boris.Vasiliev
My appologies for reposting the final message in this thread. The previous e-mail sent from a Yahoo mailbox got completely scrubbed ... - Forwarded Message - From: Boris Vasiliev bvasil...@yahoo.com To: Duncan Mackay mac...@northnet.com.au; gunter.ber...@gene.com

[R] lattice 3x3 plot: force common y-limits accross rows and align x-axes

2013-02-15 Thread Boris.Vasiliev
Good afternoon, I would like to ask for help in controlling y-axis limits and labels in lattice doplots. Unfortunately, the problem is somewhat convoluted, please bear with the long explanation. I would like to create a 3x3 lattice of dotplots, say subject ~ count. The plot is conditioned on

Re: [R] lattice xscale.components: different ticks on top/bottom axis

2011-04-06 Thread Boris.Vasiliev
On Sat, Apr 2, 2011 at 1:29 AM, boris.vasil...@forces.gc.ca wrote: On Fri, Mar 11, 2011 at 12:28 AM, boris.vasil...@forces.gc.ca wrote: Good afternoon, I am trying to create a plot where the bottom and top axes have the same scale but different tick marks.  I tried

Re: [R] lattice xscale.components: different ticks on top/bottom axis

2011-04-01 Thread Boris.Vasiliev
On Fri, Mar 11, 2011 at 12:28 AM, boris.vasil...@forces.gc.ca wrote: Good afternoon, I am trying to create a plot where the bottom and top axes have the same scale but different tick marks.  I tried user-defined xscale.component function but it does not produce desired results.  

[R] lattice xscale.components: different ticks on top/bottom axis

2011-03-10 Thread Boris.Vasiliev
Good afternoon, I am trying to create a plot where the bottom and top axes have the same scale but different tick marks. I tried user-defined xscale.component function but it does not produce desired results. Can anybody suggest where my use of xscale.component function is incorrect? For

Re: [R] lattice draw.key(): position of key in panels

2011-01-26 Thread Boris.Vasiliev
Good morning, This problem was already addressed in a previous post: https://stat.ethz.ch/pipermail/r-help/2009-February/187244.html In the call to draw.key() use 'vp=viewport(x=unit(0.1,npc),y=unit(0.1,npc))'. Prior to calling viewport() make sure grid package is loaded. Apologies for

[R] lattice draw.key(): position of key in panels

2011-01-25 Thread Boris.Vasiliev
Good afternoon, I am working on a plot that requires custom legends to be placed in some panels of the plot; other panels do not contain legends. The problem that I run into is positioning of the legend in individual panels. In particular, the 'x' and 'y' elements of the key-list are ignored by

Re: [R] problems accessing MS Access 2003 database with RODBC

2010-04-28 Thread Boris.Vasiliev
-Original Message- From: Marc Schwartz [mailto:marc_schwa...@me.com] Sent: Monday, 26, April, 2010 13:47 PM To: Vasiliev b...@cefcom h...@ottawa-hull Cc: r-help@r-project.org; Ripley Prof Brian Subject: Re: [R] problems accessing MS Access 2003 database with RODBC On Apr 26,

[R] problems accessing MS Access 2003 database with RODBC

2010-04-26 Thread Boris.Vasiliev
Dear users, I am trying to access a Microsoft Access database from R using RODBC package but I have had little success. The setup works with isql, RODBC seems to connect to the database, but RODBC does not recognize the data in the database. Can anybody advise where I am going wrong? I am

[R] lattice dotplot with missing levels in factor variable

2010-01-14 Thread Boris.Vasiliev
Hi, I am trying to create a dotplot where each panel shows levels vs. responses; the levels are sorted by responses but levels vary from one panel to another. However, I run into problems with controlling the y-limits and y-labels. In particular, suppose I have a data frame rsp -

Re: [R] lattice dotplot with missing levels in factor variable

2010-01-14 Thread Boris.Vasiliev
Great! Thank you very much. I missed the old R-help post but indeed this too simple ... Boris. From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Thursday, 14, January, 2010 14:40 PM To: Vasiliev b...@cefcom h...@ottawa-hull Cc: r-h...@stat.math.ethz.ch

[R] lattice dotplot: line height for multi-line labels

2009-08-07 Thread Boris.Vasiliev
Dear R-users, I am looking for suggestions on how to control the line-height for multi-line labels in lattice dotplot. In particular, in the dotplot produced by library(lattice) aa - c('A'=10,'B\nb'=20,'C'=30) dotplot(aa) I would like to control the vertical separation between 'B' and 'b' in

[R] goodfit() in vcd package: computation of chi-squared

2009-07-23 Thread Boris.Vasiliev
I have troubles understanding how goodfit() function in the vcd package computes the Pearson coefficient. Can anybody provide more information on the computation? In particular, for HorseKicks data in vcd package, goodfit() yields oo - goodfit(HorseKicks,type=poisson,method=MinChisq)