Re: [R] xYplot error

2010-07-28 Thread Frank Harrell
Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University On Wed, 28 Jul 2010, Kang Min wrote: Hi Frank, Thanks for the suggestion. using numericScale() does work for Dotplot, but there're still a few issues

Re: [R] xYplot error

2010-07-27 Thread Kang Min
Hi Frank, Thanks for the suggestion. using numericScale() does work for Dotplot, but there're still a few issues: 1. My factor names are Plot A, PF, MSF, and YSF, so numericScale turns that into 3, 2, 1, 4 and the x-axis is plotted 1, 2, 3, 4. Is there any way I can retain the same order on the g

Re: [R] xYplot error

2010-07-27 Thread Frank Harrell
If the x-axis variable is really a factor, xYplot will not handle it. You probably need a dot chart instead (see Hmisc's Dotplot). Note that it is unlikely that the confidence intervals are really symmetric. Frank On Tue, 27 Jul 2010, Kang Min wrote: Hi, I'm trying to plot a graph with err

[R] xYplot error

2010-07-27 Thread Kang Min
Hi, I'm trying to plot a graph with error bars using xYplot in the Hmisc package. My data looks like this. mortstand sitetype 0.042512776 0.017854525 Plot A ST 0.010459803 0.005573305 PF ST 0.005188321 0.006842107MSFST 0.004276068 0.01

[R] xYplot error bands not working, was: Re: Lattice book

2008-05-02 Thread Michael Kubovy
On R version 2.7.0 (2008-04-22) i386-apple-darwin8.10.1 locale: C/C/en_US/C/C/C attached base packages: [1] splines grid grDevices datasets graphics stats utils methods base other attached packages: [1] Design_2.1-1 survival_2.34-1 Hmisc_3.4-3 languageR_0.92

[R] xYplot, error bars, log scale

2008-02-05 Thread Jacob Etches
I'm new to Hmisc and trying to get the following to work, but if I un- comment the y-scale list (in order to get a log-scale for the hazard ratio), the error bars become strangely large. The dataframe is simply ODS output from TPHREG in SAS. Can someone point me towards what I'm sure is a