[R] Unable to get Legend with survplot rms package

2009-10-26 Thread Aric Gregson
Hello, I apologize for the post as I am certainly overlooking a simple solution to my difficulties with getting a legend to print on a survplot from the rms package. I am plotting the following: survplot(survest(fita), n.risk=T, conf='none', cex.n.risk=.85, dots=T, col='gray10', lty=2) survplot(

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 Thread Aric Gregson
On Mon, 26 Oct 2009 13:21:23 -0700 Frank E Harrell Jr wrote: > Please send exact code for an example that fails. If possible, > generate the data using a simple simulation to make the example > reproducible. endtime <- c(251,753,753,791,732,1081,184,713,674,732,254, 644,782,753,278,184,715,832,

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 Thread Aric Gregson
On Mon, 26 Oct 2009 15:10:42 -0700 Frank E Harrell Jr wrote: > > survplot(survest(fit.example1), n.risk=T, conf='none', > > cex.n.risk=.85, dots=T, col='gray10', lty=2) > > The argument to survplot should be a cph or psm or survfit object (or > a survest result on a psm object). My apologies, al

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 Thread Aric Gregson
On Mon, 26 Oct 2009 15:54:08 -0700 Frank E Harrell Jr wrote: > But fit.example1 is a cph object. It can go directly to survplot. > > Best to take a break and read over more documentation. Yes, doesn't work as I noted. I'll keep reading as I have been, but this is the closest I have gotten to ma

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 Thread Aric Gregson
On Mon, 26 Oct 2009 15:54:08 -0700 Frank E Harrell Jr wrote: > Best to take a break and read over more documentation. Got it!! Thank you very much! Aric IMPORTANT WARNING: This email (and any attachments) is ...{{dropped:9}} __ R-help@r-project.or

[R] Sweave, ggplot2 and two-page figures

2008-06-10 Thread Aric Gregson
I am using Sweave to generate a document in which ggplot2 figures are embedded. I am using the following code in a particular plot within a subfloat environment: <>= print(qplot(bosday2, Arday2, data= arbostimearonlyNArm, colour=factor(bos2), shape=factor(bos2), size=factor(cumARscore), position="

[R] Sweave, ggplot2 and two-page figures

2008-06-10 Thread Aric Gregson
I am using Sweave to generate a document in which ggplot2 figures are embedded. I am using the following code in a particular plot within a subfloat environment: <>= print(qplot(bosday2, Arday2, data= arbostimearonlyNArm, colour=factor(bos2), shape=factor(bos2), size=factor(cumARscore), position="

[R] Difficulty Compiling RSQLite on Solaris x86 Using Studio 12 Compilers

2007-10-30 Thread Aric Gregson
Apologies if this is not the best list on which to ask for help. I have compiled R 2.6.0 using Sun Studio 12 compilers. I can install most CRAN and bioconductor packages that I need, with the exception of RSQLite. Unfortunately this is critical for other packages that I need. I have tried to compil